This example project is using poetry
to manage the environment and dependencies.
If you are not familiar with poetry
yet, please refer to this tutorial
https://github.com/jgujerry/python-virtual-environments/tree/main/poetry
Get into the project directory,
$ cd sanic-api
Create Python virtual environment,
$ poetry shell
Install dependencies
$ poetry install
Run the applicaton,
$ python run.py
Then visit http://127.0.0.1:8000.
The API docs visit http://127.0.0.1:8000/docs.
Happy Coding!