-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Routes
This page displays a log in form
- GET /login
- POST /login
This page displays a signup form
- GET /signup
- POST /signup
This page displays likes on each individual event card. This page also displays a navigation bar with login/signup or logout buttons. If the logged-in user has an event on this page, that event will have an update and delete button. Logged-in users can like/heart the events.
- GET /api/hearts
- POST /api/hearts
- DELETE /api/hearts/:id
This page displays a form in which a logged-in user can create a new event. This page will also display a navigation bar with a homepage button and a logout button.
- POST /api/events
This page displays an individual event and its associated tickets and hearts. This page also displays a navigation bar with a homepage button and a login/signup or logout button (depending on logout setting). Logged in users can like/heart an event and register for tickets on this page. If the logged-in user owns the event, the page also displays an update event and delete event button.
- GET /api/events/:id
- GET /api/tickets/:id
- POST /api/tickets
- DELETE /api/tickets/:id
- POST /api/hearts
- DELETE /api/hearts/:id