1.0.5 • Published 5 months ago

mg-start-node v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

5 min Backend | Node.js JWT Authentication Project

Description

This is a Node.js project demonstrating JWT (JSON Web Token) authentication.

Table of Contents

Installation

Follow these steps to set up and run the project on your local machine:

  1. Clone the Repository:

    git clone https://github.com/Aman-Sharmaa/start-node.git
    cd start-node
  2. Create ENV (.env) in the root and replace variable:

    mongo db https://www.mongodb.com/
  3. After completing these steps.

     npm install
  4. After completing these steps.

     npm run dev
  5. Now check your running application in localhost.

     http://localhost:8080
  6. **POST Register /api/v1/register Body: { "email": "example", "password": "securepassword" }

  7. **POST Login /api/v1/login Body: { "email": "example", "password": "securepassword" }

  8. **GET User /api/v1/user

  1. Open your web browser and go to http://localhost:8080 (or another port if specified) to see the application running.

Usage

Contributing

If you'd like to contribute to the project, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and submit a pull request.

Please make sure to follow the Contributor Covenant Code of Conduct.

License

This project is licensed under the MIT License.

Author

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago