Installation

Installation#

Install PostgreSQL#

$ sudo apt install postgresql

FastAPI#

$ poetry install
$ cp instance/example.py instance/config.py

This will install FastAPI with its dependencies and SPADE.

$ poetry shell
$ uvicorn api.main:app
INFO:     Started server process [18716]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)

For production you can use Uvicorn. It’s up to you.

You can visit the pages: