This project is a Node.js API Authentication With JWT that provides various endpoints for managing resources. It is built using Express.js and follows RESTful principles.
To install the project dependencies, run the following command:
npm installTo start the server, use the following command:
npm run devThe server will start on http://localhost:3000.
-
GET /api/post- Retrieve all resources -
POST /api/user/register- Create a new user -
POST /api/user/login- Authenticate a user
If you would like to contribute to this project, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bugfix.
-
Commit your changes and push the branch to your fork.
-
Create a pull request with a description of your changes.
This project is licensed under the MIT License.