Skip to content

In this project, you will create a simple Spring REST service that will help you manage a small movie theatre. Handle HTTP requests in controllers, create services and respond with JSON objects.

Notifications You must be signed in to change notification settings

amalliar/cinema-room-REST-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API specification

GET /seats
Get the list of available seats.

POST /purchase {"row": 3, "column": 4}
Purchase a ticket for the specified seat;
On success returns a string token of the sold ticket.

POST /return {"token": "9b674be1-b42e-4659-b54f-0663e5d4b218"}
Return a ticket with provided token.

POST /stats?password=super_secret
Display statistics on sold tickets.

About

In this project, you will create a simple Spring REST service that will help you manage a small movie theatre. Handle HTTP requests in controllers, create services and respond with JSON objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages