Skip to content

filmsphere/backend

Repository files navigation

Filmsphere

  • FilmSphere is an open-source, educational project inspired by roadmap.sh, allowing users to browse movies, book virtual show tickets using a coin-based system, and interact with features like an interactive seating layout and booking history.

image


Features

  • Seat Reservation System with real-time seat availability and selection.
  • Booking Management to prevent overbooking and manage reservations efficiently.
  • QR Code Tickets & Email Notifications for confirmed bookings.
  • Auto Cleanup for expired showtimes and pending bookings.
  • Complete Movie, Seat, Show, and Booking Management for admins.
  • User Authentication & Role-Based Authorization with admin and regular user roles.
  • Virtual Coins System for payments and refunds.

Database design

  • Generated using django-extensions

models_schema


API Design

  • /auth auth_opeeAPI

  • /movie movie_openAPI

  • /booking booking_openAPI


Cloud Architecture [AWS]

  • Tried to fit everything under the AWS Free trial

cloud_architecture


Installation -

Requirements

  1. python3 >= 3.10
  2. postgres

Steps -

  1. pull the repo
git clone https://github.com/filmsphere/backend.git
  1. Install rav
pip install rav
  1. activate environment & install packages
rav run install
  1. Create .env in reflection of .env.example and add required keys

  2. Migration

python3 manage.py migrate
  1. start the developmet server
rav run dev

Note

crontab functionalities are supported only on UNIX-based operating systems. For Windows environments, consider using Windows Task Scheduler or alternative scheduling tools that provide similar functionalities.

About

Django based backend serving filmsphere.me

Topics

Resources

Stars

Watchers

Forks

Languages