An internal API we use for safe communication with our database at rustbyte. Currently only being used for fetching avatars from a database to use on our website.
We do no recommend running this API, but here are the instructions anyways.
- Setup a PostgreSQL database with the
data/schema.sql
schema. - Rename
config.toml.example
toconfig.toml
and fill in the required credentials. - Create a virtual environment (optional) and install the requirements from the
requirements.txt
file. - Run the project using uvicorn:
uvicorn main:app --reload
Don't expect us to help you with running it.