Micro framework built on top of sanic.py written in Python 3.


Keywords
micro-framework, python, python3
License
MIT
Install
pip install rsanic==0.5.0

Documentation

rsanic

Micro framework built on top of sanic.py written in Python 3.

Installing rsanic

pip3 install rsanic

Example app:

  • Local Redis service must be installed and running at port 6397
  • Shows how to use html or json responses
git clone https://github.com/reformo/rsanic.git
cd rsanic/example
python3 server.py

or if you have pm2 installed

git clone https://github.com/reformo/rsanic.git
cd rsanic/example
pm2 start process.yml

Then use any web browser to open address: http://127.0.0.1:8000/ or http://127.0.0.1:8000/api or http://127.0.0.1:8000/public/data.json for static file access.

Notes

Credits