AponiaJSDocs
Essentials

Essentials

The runtime model behind AponiaJS — modules, dependency injection, routing, validation, errors, and the application lifecycle.

Everything in this section is implemented in 0.6.0-alpha.18 and covered by tests. Read it in order for a complete picture, or jump to the page for the piece you are wiring.

AponiaJS separates application structure from the HTTP platform:

Decorated classes
  -> immutable module definitions
  -> validated module graph
  -> singleton container
  -> Elysia plugins and routes

Structure and dependencies

Handling requests

Running the application

Platform-specific work lives next door

Native Elysia access, plugin modules, typed plugin context, and Eden Treaty are covered under Elysia platform. Features that are not implemented yet are listed under current limitations.

On this page