Skip to content

rzhvn1/Cineomatica

Repository files navigation

Cinematica API

Cinematica API is an website, where you can book and buy tickets for the movies you want to see. This project is heavily inspired by the Cinematica website. It's very easy to use and I hope you enjoy it!

Click here to open Heroku ---> Cinematica API

Getting Started

Follow the instructions and enjoy API!

Prerequisites

First clone this repository with following instruction:

git clone "this repository"

Then you need to build containers with the following command:

docker-compose up --build

Create database and user

docker exec -it cinema_db bash
su postgres
psql
CREATE DATABASE cinema;
CREATE USER cinema_admin WITH PASSWORD 'admin';
GRANT ALL PRIVILEGES ON DATABASE cinema TO cinema_admin;

Running the migrations

docker-compose run --rm cinema python manage.py migrate

Creating a superuser

docker-compose run --rm cinema python manage.py createsuperuser

Running

docker-compose up

Built With

  • Python - is an interpreted high-level general-purpose programming language.
  • Postman - s an API platform for building and using APIs
  • Django - The web framework used
  • Django Rest Framework - toolkit for building Web APIs used
  • PostgreSQL - PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
  • Docker - Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers.

Postman Collections

  • Click Here to open the project's Postman collections

Authors

  • Erzhan Muratov

Acknowledgments

  • Карина (My Mentor)
  • Адиль Дуйшеналиев
  • Медет Мусаев
  • Имамидинов Агахан

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published