-
Notifications
You must be signed in to change notification settings - Fork 0
API Documentation
John Sims edited this page Jun 29, 2021
·
1 revision
This webapp uses the following API routes to dynamically update the page to create a single-page-app-like feel for the user for specific features.
-
Users will be able to see a list of farms that they can visit. Farmers can create, update and delete new farms.
-
GET api/farms -
GET api/farms/:id -
POST api/farms -
PATCH api/farms/:id -
DELETE api/farms/:id
-
The current logged in user (or host) will be able to see their upcoming bookings and make changes if needed.
-
GET api/bookings/ -
PATCH api/bookings/bookingId -
DELETE api/bookings/bookingId -
POST api/bookings/