API service for cinema management written on DRF
Python3 must be already installed
git clone https://github.com/U-Ra-All/cinema_api.git
cd cinema_api
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver # starts Django Server
Create a file called .env in the same folder as the settings file. Make sure to have the following development-specific values in there. You can find the example in .env_sample
SECRET_KEY = "Your_Super_Secret_Key"
You can use the following superuser (or create another one by yourself):
Login: admin_user@mail.com
Password: 7QancRe2
docker pull uraall/docker-cinema-api
docker-compose build
docker-compose up
- create user via /api/user/register/
- get access token via /api/user/token/
- JWT authenticated
- Admin panel /admin/
- Documentation is located at /api/doc/swagger/
- Managing orders and tickets
- Creating movies with genres, actors
- Creating cinema halls
- Adding movie sessions
- Filtering movies and movie sessions