This is a simple api to add, read, edit, delete contact list.
- first clone this project using git
git clone [git repo url]
- and go to project root folder
- open terminal and run this command
npm install && npm start
** Test the api endponit in postman
**
-
Get All Contacts- [GET] http://localhost:3000/api/contacts
-
Store New Contact- [POST] http://localhost:3000/api/contact
-
Get Single Contact- [GET] http://localhost:3000/api/contact/id
-
Delete Contact- [DELETE] http://localhost:3000/api/contact/id
-
Update Contact- [PUT] http://localhost:3000/api/contact/id
Postman Collections for this api - https://www.getpostman.com/collections/5c2a490dcd3e36d6f55f