Backend tech challenge for Upgrade.com
- Gradle
- PostgresDB
- Just 1 instance will be launched.
All endpoints are below /api
.
GET /reservations
- Checks campsite availabilityPOST /reservations
- Creates new reservationGET /reservations/{id}
- Retrieves reservation detailsPUT /reservations/{id}
- Update a reservationDELETE /reservations/{id}
- Cancel a reservation