delvincakep / my-auth

Simple App using Node-TypeScript-MongoDB complete with JWT Authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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`)

Credits

About

Simple App using Node-TypeScript-MongoDB complete with JWT Authentication


Languages

Language:TypeScript 98.2%Language:Shell 1.8%