Flask-Restaction is a web framwork born to create RESTful API
- Create restful api
- Validate inputs and Convert outputs
- Authorize and Permission control
- Auto generate res.js and document
- Support py3
pip install flask-restaction
cd docs
make html
http://flask-restaction.readthedocs.org/zh/latest/
First, install test tools:
pip install pytest
pip install tox
Then, run tests
py.test tests
or
tox
// create a server for test
pip install -r server/requires.txt
python server index.py
// build resjs
cd flask_restaction/resjs
npm install
gulp
// test
npm install -g karma-cli
karma start
MIT License