py 3.10
FastAPI RESTAPI with a JSON First, to install all dependencies, in ./src/
:
python -m pip install -r requirements.txt
Second, into the ./src/
folder, to run the uvicorn server, copypaste this:
uvicorn src.main:app --reload
Now, you can test the REST API.