This project aims to create a secure authentication API using Next.js, JSON Web Tokens (JWT), bcrypt for hashing passwords, and mongoose for creating models to interact with a MongoDB database. With this API, you can implement user registration (signup) and login functionality with enhanced security features.
Before running this project, ensure you have the following installed:
- Node.js: https://nodejs.org (LTS version recommended)
- MongoDB: https://www.mongodb.com/try/download/community (Community Edition)
- Clone this repository to your local machine:
git clone <repository_url>