The task is to develop a basic version of meeting scheduling API. You are only required to develop the API for the system. Below are the details.
Meetings have the following Attributes. All fields are mandatory unless marked optional:
Id; Title; Partipants; Start Time; End Time; Creation Timestamp;
Participants have the follwoing Attributes.
Name; Email; RSVP
The developed HTTP JSON API is capable of the following operations.
Should be a POST request
Use JSON request body
URL should be '/meetings'
Must return the meeting in JSON format
Should be a GET request
Id should be in the url parameter
URL should be ‘/meeting/<id here>’
Must return the meeting in JSON format
Should be a GET request
URL should be ‘/meetings?start=<start time here>&end=<end time here>’
Must return a an array of meetings in JSON format that are within the time range
Should be a GET request
URL should be ‘/articles?participant=<email id>’
Must return a an array of meetings in JSON format that have the participant received in the email within the time range
THE API IS DEVELOPED USING GO
MONGODB IS USED FOR STORAGE