Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
e2e
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ionic 4 Auth CLI

Starting point for Ionic 4 Application with Authentication build in. Go to Ionic 4 User Registration & Login Tutorial to see more info and screen shots.

Getting Started

If your Ionic 4 application needs authentication, you have came on right page. If you are starting a completely new project, then you can just clone this and start working on it. This will save your couple of hours for sure.

In this Project I’m using side menu template of Ionic 4. If you already have a project then you can go to Ionic Auth and copy only files.

Prerequisites

Ionic Framework Docs

Node

Installing

If you want to install the project local, you can using following command.

git clone https://github.com/flicher-net/ionic-4-auth-cli.git

CD into project

cd ionic-4-auth-cli/

Install Node Modules

npm install --unsafe-perm=true --allow-root

If you are using mac, you might get ENFILE: file table overflow errors, you can use these commands to solve it.

echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf
echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf
sudo sysctl -w kern.maxfiles=65536
sudo sysctl -w kern.maxfilesperproc=65536
ulimit -n 65536 65536    

Configure

If you are going to be using a backend to store user details. Then go to src/app/services/env.service.ts file and give value to API_URL.

For example:

API_URL = 'https://blog.flicher.net/api-url';

Deployment

iOS Setup

Andriod Setup

Built With

Ionic Framework

Follow me on Twitter

Twitter

About

Starting point for Ionic 4 Application with Authentication build in.

Resources

Releases

No releases published

Packages

No packages published