ContactBook
1.0.0
The JS app "Contact Book" holds a searcheable list of contacts. It supports the following operations:
/contacts
/contacts/:id
/contacts/search/:keyword
/contacts/create
The app is based on Node.js + Express.js + Pug.
The following endpoints are supported:
GET /api
- list all API endpointsGET /api/contacts
- list all contactsGET /api/contact/:id
- returns a contact by given id
GET /api/contacts/search/:keyword
- list all contacts matching given keywordPOST /api/contacts
- create a new contact (post a JSON objects in the request body, e.g. {"firstName":"Marie", "lastName":"Curie", "email":"[email protected]", "phone":"+1 800 200 300", "comments":"Old friend"}