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.sqlschema. - Rename
config.toml.exampletoconfig.tomland fill in the required credentials. - Create a virtual environment (optional) and install the requirements from the
requirements.txtfile. - Run the project using uvicorn:
uvicorn main:app --reloadDon't expect us to help you with running it.