Skip to content

Ionic 4 with auth logic including login page using oauth2

Notifications You must be signed in to change notification settings

altixco/ionic4-oauth2

Repository files navigation

Ionic v4 + OAuth2

Ionic v4 sidemenu template plus authentication logic with OAuth2 including login page

How to install the template

Clone the repository

git clone https://github.com/altixco/ionic4-oauth2.git project_name
cd project_name

Select branches to include

This repository currently contains a branch that you can use if push notifications are required in the project.

To add support for push notifications use:

git merge origin/push-notifications

After adding support for push notifications you need to add the configurations files (google-services.json for android and GoogleService-Info.plist for iOS) to the root of the project. You can generate this files from firebase console.

For more information see the Plugin repository

Remove the git directory

rm -r ./.git

The command before will remove the .git folder so you will have to initialize git:

git init
git remote add origin <repository-url>

Build Setup

# Install Ionic
npm install -g ionic

# Install dependecies
npm install

# Serve the application
ionic serve

# Run app on Android device
ionic cordova run android

# Build dev app for Android
ionic cordova build android

# Run unit tests
npm run test

# Run e2e tests
npm run e2e

About

Ionic 4 with auth logic including login page using oauth2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published