/user-auth-api-node-mongo-jwt

User Authentication API for SPAs using Node.js, Express, Mongoose, JWT and Bcryptjs

Primary LanguageJavaScript

Authentication System API Using Node.js, Express, MongoDB, JWT, Bcrypt

Create .env file in the root and declare these env variables

  • PORT - Port number for the server
  • DB_URI - MongoDB connection string
  • JWT_SECRET - Secret key for JWT