Skip to content

API Documentation

Krista Strucke edited this page Jun 25, 2022 · 1 revision

API routes that return JSON and that will be used by the frontend routes for accessing the database from the backend

/

Splash page has modals for log in, eventually sign up too

  • POST / (login via modal)

/register/:eventId

This should pop up in a modal on the event page, showing the registration form

  • POST /register/:eventId (register for event)
  • PUT /register/:eventId (edit registration - mainly change # of ppl going)
  • DELETE /register/:eventId (unregister for event)

Clone this wiki locally