Giter VIP home page Giter VIP logo

cinema-app's Introduction

๐ŸŽž๏ธ Cinema App

About:
This is a simple project that simulates a cinema application and supports registration, authentication, and other CRUD operations.


๐Ÿ“Œ 3-tier architecture:

  • Controllers - Presentation layer;
  • Service - Application layer;
  • DAO - Data access layer.

๐Ÿ“Œ Technologies:

  • Java 11
  • Maven
  • MySQL
  • Tomcat
  • Hibernate
  • Spring Framework Core
  • Spring MVC
  • Spring Security

๐Ÿ“Œ Available endpoints:

  • /register - (POST) registering a new user
  • /cinema-halls - (POST) add a new cinema hall
  • /cinema-halls - (GET) get all cinema halls list
  • /movies - (POST) add a new movie
  • /movies - (GET) get all films list
  • /movie-sessions - (POST) add a new movie session
  • /movie-sessions/available - (GET) get all available movie sessions
  • /movie-sessions/{id} - (PUT) update a movie session
  • /movie-sessions/{id} - (DELETE) delete a movie session
  • /orders/complete - (POST) completing the order by the user
  • /orders - (GET) get users order history
  • /shopping-carts/movie-sessions - (PUT) add a session to a shopping cart
  • /shopping-carts/by-user - (GET) get users shopping cart
  • /users/by-email - (GET) find user by email

๐Ÿ“Œ To start to use:

  • Clone project from repository
  • Install Apache Tomcat 9.0.** version
  • Install MySQL
  • Config the db.properties according to your credentials
  • Inject two users using endpoint /inject (POST). You'll get users:
  • You can also add your user using /register
  • This is it! You can use the application

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.