Express HTTP adapter for ExpressoTS. Connects the framework core to the Express.js server engine.
Documentation Β· Getting Started Β· Project Board Β· Community
npm i @expressots/adapter-expressThis adapter bridges ExpressoTS Core and Express.js. It provides the HTTP server implementation, route registration, middleware pipeline, and the App class that wires everything together. Install it alongside @expressots/core to run ExpressoTS on Express.
import { AppExpress } from "@expressots/adapter-express";
import { AppContainer, CreateModule, bootstrap } from "@expressots/core";
import { AppController } from "./app.controller";
export class App extends AppExpress {
private readonly container: AppContainer = this.configContainer([
CreateModule([AppController]),
]);
async configureServices(): Promise<void> {
// register middleware, interceptors, error handlers
}
}
void bootstrap(App); // starts on process.env.PORT or 3000bootstrap() builds the container, runs the AppExpress lifecycle hooks (globalConfiguration, configureServices, postServerInitialization), starts the HTTP server, and wires graceful shutdown on SIGINT / SIGTERM.
- Express 5 (the adapter targets the Express 5 API; body parsing uses the Express 5 native parsers)
- Node.js >= 20.19.0
@expressots/studio-agentis an optional peer dependency: install it to enable ExpressoTS Studio integration, or omit it with no impact on the adapter.
The micro-api module (gateway, service-mesh, serverless, queue) is preview quality: its APIs may change and it is not yet covered by the test suite. Use it for experimentation, not production-critical paths.
For guides, API reference, architecture patterns, and examples visit doc.expresso-ts.com.
Welcome to the ExpressoTS community. See the Contributing Guide for how to get involved.
MIT. See LICENSE.