[data-reveal]{opacity:1!important;transform:none!important}
DocumentationGuides

Guides

Add an endpoint, persist data, authenticate requests, or integrate AntelopeJS with an existing application.

Each guide covers one task. They assume you can run a local module. Each interface also needs a compatible provider in your application configuration.

Build an API in stages

  1. Handle an HTTP request and verify the response.
  2. Persist a record through a registered schema and model.
  3. Authenticate requests, then define authorization separately.
  4. Generate CRUD endpoints when their access model fits your data.

For a combined example, follow the task API tutorial. It builds a shared authenticated task board. It does not isolate data per user and is not a production account system.

Task guides

API routing

Build HTTP APIs with controllers, route decorators, parameter extraction, and structured responses.

Database

Define tables, apply modifiers for hashing and encryption, and perform CRUD operations with data models.

Authentication

Sign and validate JWT tokens, protect routes with authentication decorators, and manage server-side cookies.

Data API

Generate CRUD endpoints from database tables, with custom routes and middleware.

Task API tutorial

Connect tables, login routes, and authenticated shared-task endpoints, with explicit provider setup and verification checkpoints.

Embed AntelopeJS in an existing app

Start an AntelopeJS runtime from your own application, with an AdonisJS application as a complete example.

Troubleshooting

Common errors and their fixes when you work with AntelopeJS modules and interfaces.