sanjeevkumarray / NODE-REST-API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NODE-REST-API

Candidate has to create a small set of API Endpoints as further described.

● A User Registration Endpoint (/users/new), has to be a POST request, and accepts “username” as Body Parameter, and returns a UID on successful registration.

● A Get All Users Endpoint (/users/all), has to be a GET request, and should return a list of all Users with their UID as a JSON.

● A Setup Meeting Endpoint (meetings/new) has to be a POST request, and accepts “uid1”, “uid2” & “date” as Body Parameters, and returns a Meeting UID on success.

● A Get All Meeting Endpoint (/meetings/all) has to be a GET request, and should return a list of all Meetings, with details of users involved & meeting UID.

● Deploy the APIs

users GET Screenshot (13)

meetings GET Screenshot (14)

meetings POST Screenshot (15) .

About


Languages

Language:JavaScript 100.0%