To get a local copy up and running follow these simple example steps.
These things must be installed in your system.
Steps to run the Code :
-
Clone Repo
git clone https://github.com/niharika2k00/CRUD_using_node_express_mongoDb.git
-
Install exsisting modules
npm i
-
Prepare the .env file by adding
- PORT
- NODE_ENV
- MONGODB_URI
-
Open the Directory(root) in the Terminal
-
Run the command
npm run server
-
Testing routes using Postman
HAPPY CODING !!