A test instance is available at https://piano-doorkeeper.herokuapp.com/
GET /check?keyId=1&roomId=1&entrance=true HTTP/1.1
Host: localhost:8080HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 24
{"code":"enter_success"}HTTP/1.1 403 Forbidden
Content-Type: application/json
Content-Length: 24
{"code":"access_denied"}200enter_success200leave_success400invalid_request403access_denied- the user does not have access to the room403enter_different_room- unable to enter, the user has entered a different room already403leave_not_in_room- unable to leave, the user has not entered this room
docker-compose up -d- Setup a local Redis instance manually (or use
docker-compose up redis) and run./gradlew bootRun