This fork is different in the following ways:
- Strips out the admin and auth components.
- Change the REST API in backward incompatible ways.
- Adds StatsResource which is useful for aggregations.
- Changes how date serialization works.
- Adds support for JSON and JSONB fields when using a postgres backend.
requirements:
- flask
- peewee
- wtforms
- wtf-peewee
- flask-login
- pytest
- python 3.6 or greater
Check out the original documentation.
influenced by tastypie, provides a way to expose a RESTful interface for your project's models.
curl localhost:5000/api/user/ { "meta": { "model": "user", "next": "", "page": 1, "previous": "" }, "objects": [ { "username": "admin", "admin": true, "email": "", "join_date": "2011-09-16 18:34:49", "active": true, "id": 1 }, { "username": "coleifer", "admin": false, "email": "coleifer@gmail.com", "join_date": "2011-09-16 18:35:56", "active": true, "id": 2 } ] }