GithubHelp home page GithubHelp logo

bookmycinema's Introduction

bookmycinema

Book My Cinema Springboot Microservices Application

The Book My Cinema project is a Spring Boot implementation of the backend APIs for a ticket booking system similar to the popular platform "BookMyShow". It provides a set of RESTful APIs that enable client applications to interact with the ticket booking system and perform various operations.

Features

  • Api Gateway: All api is routing through spring cloud gateway.
  • Authentication servie: Centralized authentication server with implmententation of JWT (Register,Tokent and Validate).
  • Movie Management: Admin users can add, edit, and remove movie from the system.
  • Theater Management: Admin users can add, allocate seats, edit, and remove Theaters from the system.
  • User Registration: Users can create an account, log in, and manage their profile information.
  • Movie Management: Admin users can add, edit, and remove movie from the system.
  • Theater Management: Admin users can add, allocate seats, edit, and remove Theaters from the system.
  • Ticket Booking: Users can browse through the available movie, select the desired event, and book tickets for it.
  • Seat Selection: Users can choose their preferred seats from the available options for a selected event.
  • Booking History: Users can view their booking history and check the details of their past bookings.
  • Email Notifications: Users receive email notifications for successful bookings and important updates.

Technologies Used

  • Java 17
  • Spring Boot 3.2.8
  • Spring MVC
  • Spring Data JPA
  • MySQL (as the database)
  • Docker
  • Kubernete
  • Helm Charts
  • Maven (for dependency management)
  • SMTP Server (for sending email notifications)

Getting Started

To set up the project on your local machine, follow these steps:

  1. Clone the repository: git clone https://github.com/umeshsinghse/bookmycinema.git
  2. Navigate to the project directory: cd bookmycinema
  3. Configure the database settings in application.yml file.
  4. Build the project using Maven: mvn clean install
  5. Build the Docker image " Docker build . imagename.{1.0}"
  6. Tag the Docker image " Docker tag imagename.{1.0} imagename.{1.0}"
  7. Push the Docker image " Docker push imagename.{1.0}"
  8. Create the Helm Chart " helm create helm-bmc"
  9. Install the helm charts " helm install helm-bmc-service helm-bmc"

Application Sequence

api-gateway-server - http://localhost:9000 authenticaiton-service http://localhost:9001 api-loadbalancer-server http://localhost:8761 movie-service http://localhost:8080 show-service http://localhost:8082 theater-service http://localhost:8083 ticket-service http://localhost:8084

Database Setup

This project uses MySQL as the database. Follow these steps to set up the database:

  1. Install MySQL on your local machine.
  2. Create a new database named bookmyshow.
  3. Update the database configuration in application.properties file.

API Documentation

The API documentation for this project can be found at http://localhost:8080/swagger-ui.html. It provides detailed information about each API, including request/response formats and parameters.

bookmycinema's People

Contributors

umeshsinghse avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.