/login-app

Primary LanguageJavaScript

packages required to install

To create react app in client directory:

enter client directory

cd client

creating react app

npx creat-react-app .

Installing Express in login-app (main directory)

make sure you return back to login-app

cd ..

to install npm using npm

npm i express

Packages Available

dotenv

npm i dotenv

nodemon

npm i -D nodemon

mongoose

npm i mongoose

bcrypt

npm i bcryptjs

jsonwebtoken

npm i jsonwebtoken

To get random generated string for token

node
require('crypto').randomBytes(35).toString("hex")