Skip to content

AGenson/cinema-backend-console-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cinema Backend - Console Application

Java application using Spring Boot. The application has the following features:

  • In-memory storage (reset when closing)
  • User management + security restrictions
  • Movie & Film management
  • Order of tickets

Environment used to develop:

  • IntelliJ
  • Java 1.8
  • Linux

Usage

To build the project:

./gradlew clean
./gradlew build

The build script will generate a JAR file: ./build/libs/cinema-${__VERSION__}.jar

An example to run the program:

java -jar ./build/libs/cinema-1.0.0-SNAPSHOT.jar

Credentials

There are 2 users already in the in-memory database:

  • Username: "staff" & Role: "STAFF"
  • Username: "customer" & Role: "CUSTOMER"

Both passwords are: "password"

Menu Map

You can find below a menu map to help you navigate.

Without Logging In

  • See movie catalog
    • Movie selection:
      • Select seats & Order
        • Identification
        • Order confirmation
  • Identify
    • Sign up
    • Log in
  • Leave

When Logged In As Customer

  • See movie catalog
    • Movie selection:
      • Select seats & Order
        • Order confirmation
  • Log out
  • See Profile (info & orders)
  • Leave

When Logged In As Staff

  • Go to staff section
    • Manage movies
      • Add movie
      • Select movie
        • Edit title
        • Remove
    • Manage rooms
      • Add room
      • Select room
        • Edit movie
        • Remove
    • Manage users
      • Select user
        • Add / Remove staff privilege
  • ... (same options as customer)

About

Cinema backend as a console application using Spring Boot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages