This is a RESTful API built with Node, Express and MongoDB to Manage Products and Categories.
- Node.js
- Express
- MongoDB
To run this app in your machine, Node.js and MongoDB should be installed in your system.
Follow the steps below to run the app in your system
-
Open terminal and run command to clone the project https://github.com/Estkhar12/product-category-api.git
-
Open the project in VS code or any other code editor.
-
Run command
npm i
to download all the dependencies -
Create a
.env
file in the root directory and add all the values present in.env.example
file. -
The value of
NODE_ENV
in.env
file can be eitherdevelopment
orproduction
-
Run command
npm start
ornpm run dev
to run the code. -
To know about the endpoints of this API please follow below api documentation url.
Check documentation of this API on below link