Skip to content

lmicovic/movie-ticket-reservation-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie-Ticket-Reservation – backend

Movie ticket reservation and management backend application build using Spring Boot 3 and Java 17. This project represents backend application used for processing and managing movie ticket reservation process.

This is project is backend application for movie-ticket-reservation-client application.

Features

  • Easy startup: project is auto configured and plug-and-play, ready to run. No need for additional settings.

  • Comprehensive: contains all basic and advanced features required to respond to movie ticket reservation process.

  • Integrity: code is logically divided and easily understandable.

  • Secure: using security features that secure important communication with authenticated user. Also provide simple features to unauthorized user movie previews.

Technical Features

  • Project is built entirely using Spring Boot 3 and Java 17.

  • Project is using required dependencies through Maven project management tool.

  • Communicating with database using Spring JPA and Hibernate.

  • Storing permanent data to H2 in-memory database.

  • Project at startup create and fill database tables with initial data in Application.java class.

  • Implements Spring Security for security features like user authentication ,generating and validation JWT Tokens. Uses JWT Token to authenticate and manage users.

  • All HTTP Requests and Responses consume JSON format in HTTP body.

  • Backend Application is running on url: http://localhost:8080/

  • Database console is running on url: http://localhost:8080/h2-console

Important endpoints

Maven Dependencies

Maven dependencies are specified in pom.xml file.

Setup

Project is auto configured and ready to start after download. No need for additional settings. Project is developed using Eclipse IDE.

To change database type it can be configured in application.properties with addition of required Maven dependencies for certain database in Maven pom.xml file.

To disable Spring Security write following property in application.properties file:

custom.variables.SpringSecurity.enable=false

To enable Spring Security write following command in application.properties file:

custom.variables.SpringSecurity.enable=true

*NOTE: Other contributions are welcome this is just a main functionalities for Movie Ticket Reservation system, lots of things are available to implement further.