Git Product home page Git Product logo

cinema's Introduction

Cinema

/admin/panel/films
/admin/panel/halls
/admin/panel/sessions
/sessions
/films
/films/{id}/chat

This is a site for movie theater, it will be developed more in next project called CinemaSpringBoot.

In this project we use:

  • Spring Controllers
  • Hibernate without Spring Data Jpa
  • Ajax-requests for live search on /sessions page
  • Spring Websockets for chats (every movie has its own chat, since this project has no signIn/signUp functionality each user has its own random name, which is saved in cookies)
  • FreeMarker as template engine.

Launch

Docker

Just go to docker folder and run it with the following command

docker compose up --build

Manual

You need to create an empty database in postgres and write your credentials in application.properties file in corresponding folder and change path to folder where images will be stored.

Then just go to the folder ( i recommend ex02 :D ) and run the following command

mvn clean package org.codehaus.cargo:cargo-maven3-plugin:run

Voila

Website can be accessed through localhost:8080, but there is no no index

Mappings

  • /admin/panel/films (create film)
  • /admin/panel/halls (create hall)
  • /admin/panel/sessions (create session with available hall and film)
  • /sessions (search available sessions with live search by name of the film)
  • /sessions/{id} (info about particular session)
  • /films (list of all films)
  • /films/{id} (info about particular film)
  • /films/{id}/chat (multiuser chat about particular film)

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.