gtvf

Run backend

  1. Make sure following env vars set in your host system:
    • $POSTGRES_PASSWORD
    • $POSTGRES_USER
    • $POSTGRES_DB
    • $POSTGRES_URL
    • $POSTGRES_PORT
  2. Run local server
    $ cd poll-manager
    $ docker-compose up -d
  3. Apply db migrations
    $ docker exec -it pm_fastapi alembic upgrade head
  4. Navigate to Swagger UI: http://0.0.0.0:8000/docs