Skip to content

Project that allows theater visitors to make reservations online and choose needed seats, without going physically to the theatre.

Notifications You must be signed in to change notification settings

lylakivan/theatre-api-service

Repository files navigation

Theatre Service API

Project that allows theater visitors to make reservations online and choose needed seats, without going physically to the theatre written on DRF

DB Structure

DB Structure

Features

  • CRUD Operations
  • JWT Authentication
  • Email-Based Authentication
  • Admin Panel
  • Play's Filtering
  • Throttling Mechanism
  • Managing orders and tickets
  • API Documentation

Installing using GitHub

Install PostgreSQL and create db.

Clone the repository: git clone https://github.com/lylakivan/theatre-api-service.git

Create and activate virtual environment:

  • On Windows

    python -m venv venv
    
    venv\Scripts\activate
    
  • On MacOS

    python3 -m venv venv
    
    source venv/bin/activate
    

Install needed requirements: pip install -r requirements.txt

Run database migrations: python manage.py migrate

Create .env file using env.sample file

Run server:

python manage.py runserver

Go to http://127.0.0.1:8000/

Run with Docker

Docker should be installed.

  • pull docker container
    docker pull lylakivan/docker-theatre-api
    
  • run container
    docker-compose build
    docker-compose up
    

You can use following superuser (or create another one by yourself using createsuperuser)

DEMO

Swagger

API_page

About

Project that allows theater visitors to make reservations online and choose needed seats, without going physically to the theatre.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published