This repository contains an authentication API built with Node.js, Express.js, and Mongoose. It includes user registration with hashed passwords, login with JWT, and protected routes. The project uses bcryptjs for password hashing, jsonwebtoken for authentication, and MongoDB for data storage.
From the README
User registration and Login using JWT,bcrypt,mongoose,mongodb and express user registeration with "hashed Password through bcrypt" user authentication with "jsonwebtoken" Protected routes with "jsonwebtoken" verification MongoDb integration using "Mongoose" Auto generated time stamps for user creation using Mongoose Folder structure ├── config │ └── db.js ├── controllers │ └── authController.js ├── models │ └── User.js ├── routes │ └── authRoutes.js ├── middleware │ └── authMiddleware.js ├── app.js └── server.js Tech stack "Node.js" "Express.js" "Mongoose" "jsonwebtoken" "bcryptjs" "dotenv" API endpoints- "/api/auth/signup" - Register "/api/auth/signin" - Login "/api/auth/profile" -...
Skills
- JavaScript