https://github.com/abdealijaroli/product-manager-api
An MVC Rest API built using Node.js, Express.js & MongoDB. Implemented JWT, and documented using Swagger.
https://github.com/abdealijaroli/product-manager-api
expressjs mongodb nodejs rest-api
Last synced: 3 months ago
JSON representation
An MVC Rest API built using Node.js, Express.js & MongoDB. Implemented JWT, and documented using Swagger.
- Host: GitHub
- URL: https://github.com/abdealijaroli/product-manager-api
- Owner: abdealijaroli
- Created: 2021-07-19T16:56:46.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T07:26:18.000Z (almost 4 years ago)
- Last Synced: 2025-01-12T00:15:23.019Z (5 months ago)
- Topics: expressjs, mongodb, nodejs, rest-api
- Language: JavaScript
- Homepage:
- Size: 106 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Product Manager API
An MVC Rest API built using Node.js, Express.js & MongoDB. Secured with JWT, and documented using Swagger.
1. Format of the .env file:
> PORT=
> DB_URL=
> SECRET_KEY=2. Before cloning the repo, make sure you have a cluster ready on MongoDB Atlas. Paste the connection url in the __DB_URL__ val in the .env file.
3. Now clone the repo and install all the dependencies using:
> npm iThen, start the server:
> npm start4. Once the server is up and running, you can test the API using Swagger UI by navigating to:
> http://localhost:3002/api-docs/Feel free to make contributions. Any feedbacks/suggestions are highly appreciated. Thankyou :)