Commands to run in Development Mode
./gradlew -t build ./gradlew run
GET /movies
query parameters
title: string showDate: string(ISO Date) seatsAmount: number location: countryId
GET /movies/sessions/:id
{
"id": 123,
"title": "The Nun II",
"duration": "1h 51m",
"showTime": "2023-09-23T20:55:39.034Z",
"availableSeats": 1
}
POST /movies/sessions/:id/booking
[
{
"name": "Bruno"
}
]
GET /movies/bookings/:id
[
{
"name": "Bruno"
}
]