Skip to content

REST API for an Online Movie Booking Application. User can book any movie with available seats.

Notifications You must be signed in to change notification settings

Soumya048/Movie-Booking-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie-Booking-Application

REST API for an Online Movie Booking Application. Users can book movie tickets to watch movies on any theatres. This API performs all the fundamental CRUD operations. There are validations for input data. and usersession uuid to access the API.

Badges

Badge

Tech Stack:

  • Java
  • Spring Framework
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • Spring Validation
  • MySQL
  • Lambok
  • Swagger Ui

Modules

  • Login Module
  • Admin Module
  • Customer Module
  • Movie and Theatre Module
  • Movie Booking Module

ER Diagram:

Untitled Diagram drawio (3)

Installation and Run

#changing the server port
server.port=8088

#db specific properties
spring.datasource.url=jdbc:mysql://localhost:3306/moviedb
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root

#ORM s/w specific properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

#No handler found
spring.mvc.throw-exception-if-no-handler-found=true
spring.web.resources.add-mappings=false

#swagger-ui
spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

#using Gmail SMTP server
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=<email>
spring.mail.password=<password>
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true

API Root and Endpoint

https://localhost:8088/

for swagger

http://localhost:8088/swagger-ui/

About

REST API for an Online Movie Booking Application. User can book any movie with available seats.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published