Skip to content

Abdullahsaleh203/node_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node_API

Project Description

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.

Installation

To install the project dependencies, run the following command:

npm install

Usage

To start the server, use the following command:

npm run dev

The server will start on http://localhost:3000.

Endpoints

  • GET /api/post - Retrieve all resources

  • POST /api/user/register - Create a new user

  • POST /api/user/login - Authenticate a user

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your feature or bugfix.

  3. Commit your changes and push the branch to your fork.

  4. Create a pull request with a description of your changes.

License

This project is licensed under the MIT License.

About

Build A Node.js API Authentication With JWT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors