Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.69 KB

readme.md

File metadata and controls

71 lines (47 loc) · 2.69 KB

True Tech Hack 2024

Project of Team "Не грози Южному централу попивая сок у себя на Go"

Architecture

arch

Database Schema

database

Stack

Python libs

JS stack

  • React
  • Axios / react-query
  • Material UI
  • Typescipt

Deployment

For deployment project you should:

  1. Create .env file
  2. Run docker compose
  3. Apply database migrations

Required Envs for Docker Compose

  • POSTGRES_USER - user for postgresql
  • POSTGRES_PASSWORD - password for postgresql
  • POSTGRES_DB - database name for postgresql
  • RABBITMQ_USER - rabbitmq user
  • RABBITMQ_PASSWORD - rabbitmq password
  • APP_SECURITY_SECRET - secret string for passwords
  • APP_SECURITY_PRIVATE_KEY - base64 encoded RSA private key for JWT
  • APP_YOLO_MODEL_URL - URL for downloading YOLO model (need for building)

Start services

After creating .env file you can start project with command:

docker compose up -d --build

Migrations

You need run command for applying migrations to database

make docker-alembic-upgrade-head

Expluatation

After starting project via docker-compose.yaml you can open docs on: