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-apiCreate Python virtual environment,
$ poetry shellInstall dependencies
$ poetry installRun the applicaton,
$ python run.pyThen visit http://127.0.0.1:8000.
The API docs visit http://127.0.0.1:8000/docs.
Happy Coding!