Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 733 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 733 Bytes

sanic-app

Dev Environment

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 Project

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!