Skip to content

chriss1245/movie_theather

Repository files navigation

A cinema web page 🐍

A full web server of a cinema running in python

Backend technologies

  • python
  • flask framework
  • sql-alchemy
  • mariadb

Frontend technologies

  • html
  • css
  • javascript

Folder structure

movie_theather
   ├── __init__.py
   ├── main.py: genemovie_theatherral controller
   ├── data.py: our rest api for asking data 
   ├── auth.py: controllers spetialized in login management
   ├── model.py: will contain the database structure we have
   ├── analytics.py: methods for NLP sentiment analysis of site reviews and average movie ratings, generation of encoded pie chart and bar plot to be shown in  administrator view
   ├── utils.py: contain some functions needed but not quite realted
   ├── flask_init.sh & flask_init.ps1: exports the needed environment variables for running flask, we still     need to execute flask run
   ├── .gitignore: list with files we do not want to be at the repository
   ├── requirements.txt: list of all the dependencies (python -m pip install -r requirements.txt: automates the install of these dependencies)
   ├── documentation
   │    └── all the manuals and stuff to take into account
   ├── static
   │    ├── css files
   │    ├──img
   │    |  └── all the images we will need for the movies
   │    └── js
   │         └── js files
   ├──templates
   │    ├──main
   │    |    └── all the views we are going to show
   │    └── src
   │         └── html files that can be included or inherited for our main views
   └── src
         └── Where our user`s profile image are stored

Functionalities

Main page:

  • Slider with the best rated movies
  • Search bar with a button to sort movies based on an specific criteria
  • Cards with the movies and their data

User page

  • Profile picture (can be changed)

  • Customer
    • View of all the reservations done for already seen and not seen projections
    • The future projections can be cancelled
    • Can give feedback of the website
  • Administrator
    • Plots of analytics: (reviews piechart, movie ranking barplot & projections' crew status barplot)
    • View of all the projections that are programmed
    • Chance to cancel projections (if there are reservations done. The user associated to those reservations will recieve an email)
    • Projection view (enables view and cancel individual reservations)
  • Movie

    • Trailer of the movie
    • Rating
    • Enables rating the movie
    • movie
  • Reservation

    • Shows all the projections in the given week (can move among weeks)
    • reservation
    • The user will recieve a confirmation email
    • email_reservation
  • Security:

About

Web Development curse final project at UC3M

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published