The Booking Table API allows you to manage reservations for tables in Table Tennis Sant Andreu clubhouse. It provides endpoints to create, retrieve, update, and delete reservations, as well as retrieve available tables and check their availability.
- Create a new booking with customer information and desired table.
- Retrieve information about existing bookings.
- Update or cancel existing bookings.
- Check the availability of tables for a specific date and time.
- Get a list of all available tables.
- Move to the project directory:
cd your-project-name
- Build the project for the first time:
./gradlew build
- Run all the checks:
./gradlew check
. This will do some checks that you can perform with isolated commands:- Klint using Spotless:
./gradlew spotlessCheck
. If you want to fix style issues automatically:./gradlew spotlessApply
. - Kotlin test:
./gradlew test
.
- Klint using Spotless:
- To just run the project execute:
./gradlew run
- Start coding!