I have created a Sport Product Selling website backend system using NodeJS, ExpressJS, MongoDB, and Mongoose. The api's of our projects are plays different roles. We have implemented api for creating, updating, deleting products and for accessing products. We have handled error routes with and errors with relevant message and status.
API Endpoints:
- /api/product/
To run the project in your device clone the project and then run the following commands
npm install
npm run start:dev
For checking the es linting and to fix the linting run the commands
npm run lint
npm run lint:fix
To make your code organized run the command
npm run prettier:fix