Home Reference Source

autonym

CircleCI Greenkeeper badge

A KISS JSON REST API framework that can be mounted to your Express application.

The API, guides, and examples are available on our website, which is generated using ESDoc.

Installation

npm install autonym

Quick Start

See the basic example project.

Philosophy

Autonym is another framework built on top of Express to simplify building REST APIs for your records. However, its philosophy sets it apart from most other Node.js API frameworks.

It is extremely lightweight and written in ES6. By design, it eliminates the need to scaffold controllers in your API, because they can be inferred automatically from your models. Models are driven by simple configuration objects and in many cases can just forward their arguments to an ORM. As a result, APIs built in Autonym require little coding but still offer total control over each CRUD action for a record, and are very easy to understand at a glance.

It's worth noting that the developers behind Autonym envisioned a simplistic data model, and as a result there are some definite drawbacks and limitations to the built-in behaviors of the framework.

Guide

Glossary

These are high-level concepts and vocabulary for working with an Autonym application.