TimurAztec / Diploma2FAuth

NestJS implementation of 2F Authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2 factor authentication made in NestJS and React

Installation

$ cd app/back
$ npm install
$ cd app/front
$ npm install

Example .env file for back

APP_SECRET=admin
PORT=3000
DOMAIN="http://localhost:3000"
EMAIL_ID=johndoe@gmail.com
EMAIL_PASS=admin
MONGO_DB_URL=mongodb://admin:admin@localhost:27017/diploma2fauth

Example .env file for front

REACT_APP_API_BASE_URL="http://localhost:3000"

Running the app in dev

$ cd app/front
$ npm start
$ cd app/back
$ npm run start:dev

Running the app in docker prod

$ docker build .

Stay in touch

License

Nest is MIT licensed.

About

NestJS implementation of 2F Authentication


Languages

Language:TypeScript 97.4%Language:HTML 1.1%Language:JavaScript 1.0%Language:Dockerfile 0.3%Language:CSS 0.2%Language:SCSS 0.0%