Node.js application steps need to follow after cloning this repository
- Clone this repository first https://github.com/msankar1991/wipro-pets-crud.
- Navigate to
cd wipro-pets-crud
npm install
within project folder to install dependencies.node app.js
to run application
- This will run the backend server at localhost:4002.
- If all is going well, you should be able to access the url following end point from your Postman.
- For creating new pets : http://localhost:4002/pets with requested payload
- For getting pets data : http://localhost:4002/pets/:id specific id created
- For deleting pets data : http://localhost:4002/pets/:id specific id created already
#sample for creating pets record { "name":"Brownie", "age":2, "color":"brown" }