Simple example for Sanic REST Framework

May 3, 2022 ยท View on GitHub

Run example

git clone https://github.com/Tioit-Wang/srf_simple_example.git 

cd srf_simple_example

pip install pipenv

pipenv install

pipenv run python run.py

Accessing http://127.0.0.1:5000/TestView yields the following response

If you are familiar with Sanic REST Framework, it will be meaningful to improve this example together.

Contents

  1. 1Run example
  2. 1.1Accessing http://127.0.0.1:5000/TestView yields the following response
  3. 2If you are familiar with Sanic REST Framework, it will be meaningful to improve this example together.