My Auth
Description
This is a simple Authentication system using several Stacks
:
NodeJS (Typescript)
ExpressJS
MongoDB
JWT
Redis
Getting Started
Installation & Running
$ git clone https://github.com/ivandi1980/my-auth.git
$ yarn install
$ yarn start
Generate Public & Private Key for JWT
- Open this website : https://travistidwell.com/jsencrypt/demo
- Generate a new key pair (`512` or `1024` or `2048` bits)
- Open https://travistidwell.com/jsencrypt/demo/
- Encode both keys using `Base64` (`Public Key` & `Private Key`)