API service for cinema management with Docker and PostgresSQL.
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
Docker should be installed
docker-compose build
docker-compose up
create user on /api/user/register/
get access token on /api/user/token/
- 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.