Code Monkey home page Code Monkey logo

infocinemas's Introduction

InfoCinemas

A Cinema Management application which stores movies and users.

Installation

  1. Open up Terminal and run the following commands:
  2. Open up your web browser and type in the search bar: "localhost:8787"

Default Admin

Name E-mail Password
admin [email protected] admin

Mongodb Data

  • Single Users:{"name":user_name,"password":user_password,"mail":user_mail,"movies_seen":[],"admin":"no"}
  • Admin Users:{"name":user_name,"password":user_password,"mail":user_mail,"admin":"yes"}
  • Movies:{"title":movie_title,"release_date":movie_release,"desc":movie_description,
    " screenings":["screening":["sits_left":*int*,"screening_date":*date*],"screening"::["sits_left"...]]}

Functions per page

  • Home page

    Functions: Sign up,Log in

    User Sign up

    User/Admin inserts Name,E-mail,Password to Sign up.

    User Sign up (In case there is already a user with this e-mail)

    User/Admin Log in

    User/Admin inserts their credentials to log in the system.

    User/Admin Log in (In case of wrong credentials).

  • User Home page

    Functions: Movie search,Book tickets

    Movie search

    User types in the movie title they wish to book tickets for.

    Ticket Book

    User types in amount of tickets they wish to book.

    Submit Order

    Book Succesful

    User History

    User can see what movies they have booked tickets for.
  • Admin Home page

    Functions: Insert,Update,Delete Movie & Add new Admin User

    Insert Movie

    Admin types in Title,Release Date,Description and Screening Dates for the Movie they wish to insert to the database.

    Update Movie

    Admin finds and updates Movies info.

    Delete Movie

    Admin finds and deletes Movie form database.

    Delete Movie (Fail)

    Add new Admin

    Admin adds credentials of new system admin.

    Add new Admin (Fail)

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.