Skip to content

mmiller42/autonym-examples

Repository files navigation

autonym-examples

Greenkeeper badge

Example apps using the Autonym framework.

Examples

A rudimentary example of creating an Autonym app with a model and then demonstrating the create, find, find one, find one and update, and find one and delete methods using their REST endpoints.

An introduction to using policies. Demonstrates how policies can be applied to various stages of each of the CRUD actions to manipulate the request and response, both synchronously and asynchronously.

A more complex example demonstrating how you can programmatically access model instances in policies, as well as cache the results of expensive functions via the meta object, to share data among policies. Also demonstrates the power of combining multiple policies into expressions in the model configuration.

The basic example adapted to use a SQL database. This example uses Postgres, but the Autonym implementation is powered by Knex and Bookshelf, so it also supports other SQL dialects.

A modification of the basic example that demonstrates how to create a custom store for a model using SQLite.

About

Example apps using the Autonym framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published