Skip to content

Entry test problem from a company, a simple theater reservation service.

Notifications You must be signed in to change notification settings

namvdo/simple-rest-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo has been deployed at: https://glacial-island-83092.herokuapp.com/

This application using the Maven build tool and it is only run with some of the following requirements:

  • Java 1.8
  • Jersey Servlet Container 2.5.1
  • Tomcat Server ver 8.x (my version is 8.5.57), or you can choose another web server
  • Some Maven plugins also need installing.
  • All the libraries included in the lib folder.

Dependencies are managed under the pom.xml file, which are automatically generated when you create a Maven project, you need to install all of them.

I have included some requests in Postman, please take a look at some photo attached in the /postman-img folder.

The application context is /.

The REST service has the following path /cinema/*.

For setting up the theater:

For checking seat sets available:

For reserving a seat:

You can also view the theater layout with the GET request to: http://localhost:8080/cinema/client/view

I also create simple GUI for users for input the form data.

All requests I respond with the Json data.

Also, some unit tests are under the test/java folder.

About

Entry test problem from a company, a simple theater reservation service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published