The gateway server is the first point of contact for API Requests from the phone, and we need to create different endpoints (urls) so that the phone can ping those urls and get different types of data. You will have to implement:
[x] Interface with the frontend team to define requirements for the API (User login, register, game etc). Come up with the JSON data format for each endpoint that you make. Some endpoints need to be authenticated (only logged in users can access them), keep that in mind.
[x] Create routes and handlers for these endpoints in Node. You won't have to implement them just yet, just create testing handlers with the mock data you wrote in the first step.
[ ] Test the handlers with the frontend team, make sure the data is in the correct format.
[ ] Work with #7, #6, #5 to write requestHandlers for each of the routes you implemented.
The gateway server is the first point of contact for API Requests from the phone, and we need to create different endpoints (urls) so that the phone can ping those urls and get different types of data. You will have to implement: