A secure authentication system built with Node.js, Express and MongoDB.
- User registration and login
- JWT-based authentication
- Password strength validation
- Rate limiting for login attempts
- Error handling
- Unit tests
- Clone the repository
- Install dependencies
npm install
- Create a .env file: PORT=3000 MONGO_URI=your_mongodb_uri JWT_SECRET=your_secret_key
- Start the server: npm run dev
See API Documentation for detailed endpoint information
-Password hashing with bcrypt -JWT token authentication -Rate limiting for brute force prevention -Password strength requirements -Error handling and requirements
-Fork the repository -Create your feature branch -Commit your changes -Push to branch -Create a Pull Request