AponiaJSDocs
Get started

Get started

Create or add AponiaJS to a Bun application using the implemented alpha API.

AponiaJS adds modules, decorated controllers, request parameter decorators, route validation, singleton dependency injection, and structured application bootstrap to Elysia applications running on Bun.

Experimental release

AponiaJS 0.6.0-alpha.18 is under active development and is not recommended for production workloads. Check the current limitations before adopting it for a long-lived application.

Choose a path

Then

What you will build

The starter request path is intentionally small:

main.ts
  -> AponiaFactory.create(AppModule)
  -> AppModule
  -> AppController
  -> AppService

main.ts owns bootstrap and listening. Modules define application boundaries, controllers own routes, and injectable services own application behavior.

Continue with your first route after creating or configuring a project.

On this page