Skip to content

Web API service built using the express framework. The API is connected to a private database on mLab and functionalities are added for the endpoints GET, PUT, PUSH, and DELETE http requests for a `contact` resource.

Notifications You must be signed in to change notification settings

mxia1/Web-API-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-API-Service

Endpoints functionalities

1. GET `/api/contacts`
This will return a json object containing the information for all of the contacts in your contact collection.
2. POST `/api/contacts`
This will create an instance of a contact in your contacts collection with the data you provide that needs to match the schema you define.
3. GET `/api/contacts/:email`
This will return a json object containing the information for the contact in your collection that matches the email request parameter.
3. PUT `/api/contacts/:email`
This will update the contact entry in your contacts collection with the values you provide.
4. DELETE
`/api/contacts/:email`
This will delete the contact resource inside of your contacts collection that has the email passed in as the parameter.

About

Web API service built using the express framework. The API is connected to a private database on mLab and functionalities are added for the endpoints GET, PUT, PUSH, and DELETE http requests for a `contact` resource.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published