service runs on https://eventshuffle-backend.onrender.com
Endpoint: /api/v1/event/list
Method: GET
Endpoint: /api/v1/event
Method: POST
Body:
{
"name": "Jake's secret party",
"dates": [
"2014-01-01",
"2014-01-05",
"2014-01-12"
]
}
Endpoint: /api/v1/event/{id}
Method: GET
Parameters: id
, long
Endpoint: /api/v1/event/{id}/vote
Method: POST
Parameters: id
, long
Body:
{
"name": "Dick",
"votes": [
"2014-01-01",
"2014-01-05"
]
}
Endpoint: /api/v1/event/{id}/results
Responds with dates that are suitable for all participants.
Method: GET
Parameters: id
, long
- npm install
- npm run dev