Skip to content

vasylhnatiuk/cinema-api

Repository files navigation

cinema-api

API service for cinema management with Docker and PostgresSQL.

Installing

Install PostgresSQL db and create db

git clone https://github.com/vasylhnatiuk/cinema-api/git

python -m venv venv

venv/scripts/activate

pip install -r requirements.txt

set DB_HOST=<your db hostname>
set DB_NAME=<your db name>
set DB_USER=<your db username>
set DB_PASSWORD=<your db user password>
set SECRET_KEY=<your secret key>

python manage.py runserver

Run with docker

Docker should be installed

docker-compose build
docker-compose up

Getting access

create user on /api/user/register/

get access token on /api/user/token/

Features

  • User functionality.
  • Managing orders and ticket.
  • Creating movies with genres, actors, cinema halls.
  • Adding movies with associated actors, genres.
  • Adding movie sessions with associated cinema hall, movie.
  • Adding image for movie.
  • Filtering movies and movie sessions.

About

API service for cinema management written on DRF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published