LoopBack 4's architecture with Hono's raw throughput. Dependency injection, repositories, auth and real-time - batteries included, none of the overhead.
import { controller, get, BaseRestController } from '@venizia/ignis' @controller({ path: '/users' }) export class UserController extends BaseRestController { @get({ path: '/:id' }) async findById({ id }: { id: string }) { return this.userRepo.findById({ id }) } }
The patterns that scale teams - wired into a framework that doesn't slow down.
Direct Hono integration with zero wrapping overhead. Singleton datasources, SQL-level field hiding, lazy metadata.
A ~350-LoC IoC container. @inject, @controller, @repository with auto-wiring and singleton/transient scopes.
Drizzle + Zod end-to-end. Repository hierarchy with relations, transactions, soft-delete and a rich filter system.
JWT / JWKS / Basic strategies and Casbin scoped-RBAC authorization - as composable components.
WebSocket, Socket.IO, BullMQ queues, Kafka, Redis, Cron and Mail - first-class helpers, ready to wire.
Routes are typed with @hono/zod-openapi; Swagger / Scalar docs generated from your schemas.
Built directly on Hono, IGNIS keeps near-bare-metal throughput while giving you the structure heavier frameworks charge a tax for.
Illustrative req/s, single instance. Your numbers depend on workload.
Inspired by Spring Boot and LoopBack 4 - reimagined for the modern TypeScript runtime.