A basic API auth using JWT to validate users
This API help to login and register users.
You need a database, works with MongoDB local or MongoDB Atlas, the URI must go in .env file and the secret.
PORT=<local_port>
DB_URI=<your_database_uri>
TOKEN_SECRET=<your_secret>
Run the following command for installation
npm install
Runs the API in the development mode.
npm run dev
Now the API is running on http://localhost:3000