Apr-12-2018, 08:40 AM
Hi,
You can use this package: https://github.com/thomaxxl/safrs . It creates a full-blown json frontend to a db backend.
an example can be found here: https://github.com/thomaxxl/safrs/blob/m...ionship.py . The example uses sqlite but you can use postgres if you change the database connection configuration:
You can use this package: https://github.com/thomaxxl/safrs . It creates a full-blown json frontend to a db backend.
an example can be found here: https://github.com/thomaxxl/safrs/blob/m...ionship.py . The example uses sqlite but you can use postgres if you change the database connection configuration:
app.config.update(SQLALCHEMY_DATABASE_URI='sqlite://', DEBUG=True)