This repository contains the backend-end sources of Bingo application, our stack includes:
- GraphQL endpoint
/graphql
powered by Strawberry - MySQL database connected using Tortoise ORM
- dependency management using Poetry
First, add a sql.yaml
file under the /config
folder, containing a db url like this:
default: mysql://user:password@host:port/db
and generate a salt
file under the /config
folder:
openssl rand 1024 > salt
and add a env.yaml
file under the /config
folder, containing a poster url like this:
poster: http://localhost:5000
Then, execute the command below:
poetry install
poetry run uvicorn src:app --reload --reload-exclude="migrations/**/*.py"