Micro framework built on top of sanic.py written in Python 3.
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.
- rsanic will not follow the semantic versioning scheme until the version 1.0.0. So there may be BC breaks.