This repo is just simple starter code to get started working with the FastAPI web framework using Javascript for client-side interaction.
You just need to have Python 3.7+ installed (3.10+ for the simplified typehinting).
-
Create a Python virtual environment
python3 -m venv env
-
Start the virtual environment
source env/bin/activate
-
Install dependencies
pip install -U pip pip install -r requirements.txt
-
Run the server
python server.py
or
uvicorn server:router --reload