/zomen

A movie ticket booking system.This project was undertaken to learn reactjs, AWS EC2 deployment.

Primary LanguageJavaScript

zomen

This is a Movie Ticket booking system

TECH Used

  • Java
  • Spring Boot
  • MySQL
  • JPA/Hibernate
  • Rest api
  • Swagger

How to run this application

Open the project in an editor and run ZomentumApplication.java

Notice

Make sure that sql server is running and also change the application.properties file with your sql server username and password.

Application will run at port 8080(localhost)

A nice detailed documentation of the apis can be found at Swagger Documentation I have used swagger to prepare this documentation. You can also hit apis using this documentation page and get response.

Results


Adding user to table User

markdown logo


User Table after adding two users

markdown logo


Since there were no users with this specific mobile number thats why ticket was not issued.A user has to be registered to buy tickets.

markdown logo


Successful registration of ticket

markdown logo


Since the booking time of movie is in past, therefore it is not a valid ticket

markdown logo


This is an update request to change the movie timing

markdown logo


An endpoint to view all the tickets for a particular time

markdown logo


An endpoint to delete a particular ticket

markdown logo


An endpoint to view the user's details based on the ticket id

markdown logo


I populated the ticket table 20 time using a specific time and hereafter it starts giving exception though the fields are valid, this is because no more than 20 tickets can be booked for a specific time

markdown logo


ticket is not valid if the booking time is in past

markdown logo