-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Routes
This web app contains user-facing routes that a user can access and interact with.
-
This page will show a login/signup splash page that gives a brief image/text driven explanation of the website
-
GET /
-
This page displays a log in form.
-
GET /login -
POST /login
-
An individual may create a new account. This page will display a signup form.
-
GET /signup -
POST /signup
-
Users will be able to see a list of farms that they can visit
-
GET /farms
-
This page will display an individual farm along with general details. Description, rate, farmer, unique events, etc. This is also where users would book a stay.
-
GET /farms/:id -
POST /bookings
-
This page will display a user's (farmer or guest) upcoming bookings. They will be able to edit, delete, and potentially message the farmer from here.
-
GET /bookings/:userId -
PATCH /bookings/:bookingId -
DELETE /bookings/:bookingId