Skip to content

Full stack authentication and authorisation system, designed to ensure security on web applications. Using JWT Access Token & Refresh Token and refresh token rotation with persistent and non persistent login, social media authentication and much more

Notifications You must be signed in to change notification settings

Am0stafa/Authentication-and-Authorization-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typing SVG

Installation & Running

Installation

First clone this repository to your local machine.

There are two parts in the repository, which you might need to run.

Server

To use the server, navigate to the server directory, install the dependencies using:

$ cd server
$ npm install

Client

To use the client, navigate to the client directory, install the dependencies using:

$ cd client
$ npm install

Running the Application

You have to run two processes, each for the server and the client. Make sure you have two terminal processes running for the same.

Server

$ cd server
$ npm start

Client

$ cd client
$ npm start

If you need HTTPS in development, use:

$ cd client
$ HTTPS=true npm start

If you would like to run in production mode for the client, use:

$ cd client
$ PORT=80 npm run start:production

If you need HTTPS, use:

$ cd client
$ HTTPS=true PORT=443 npm run start:production

About

Full stack authentication and authorisation system, designed to ensure security on web applications. Using JWT Access Token & Refresh Token and refresh token rotation with persistent and non persistent login, social media authentication and much more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published