Bowling Center Alley Manager spring boot API application, including JPA repositories and logging method execution with Aspect-J
Main page with very basic angular.js added to show consumed API
Returns json that contains all reservations in database.
Adds new reservation when provided with body json of type:
{
"usedTrackId":"1",
"timeStarted":"2",
"timeEnding":"12:30",
"playingUserId":"4"
}
requires parameter ID - id of reservation to delete from db f.e.
localhost:8080/reservation?id=4
will delete reservation with ID number 4
Updates an existing reservation with a new one, requires a body of type:
{
"usedTrackId":"1",
"timeStarted":"2",
"timeEnding":"12:30",
"playingUserId":"4"
}
Returns a json containing method execution time.
Feel free to contact me if you need a project or have issues with something.