Rest-Api created using typescript, Json Web Tokens to validate users and mongodb as a database
npm i bcryptjs dotenv express jsonwebtoken mongoose morgan
npm i @types/bcryptjs @types/dotenv @types/express @types/jsonwebtoken @types/mongoose @types/morgan concurrently nodemon typescript -D
- mongod (in windows) // sudo service mongod start (in linux)
- npm run dev
Then go to your browser and put in the search engine:
http://localhost:5000/api/auth/signup