
Invisible Rust
You write TypeScript. HTTP and WebSocket serving, the event bus, SQL compilation and database access, password hashing and JWTs run in compiled Rust, through NAPI.
How it is built
The comfort of a full-stack framework. The power of Rust. The freedom to choose.


You write TypeScript. HTTP and WebSocket serving, the event bus, SQL compilation and database access, password hashing and JWTs run in compiled Rust, through NAPI.
How it is built

Every package is published and used on its own. A full framework (Ignitor and conventions) or a toolkit you assemble by hand, your choice.
The packages

Routes, groups, middleware, controllers resolved by the container, validation, uploads, static files and URL building.
Routing

The Atlas ORM with entities, relations, migrations, factories and transactions, Redis through quasar, and time series through eon.
The ORM

Session, JWT, access-token and basic-auth guards, MFA, roles and permissions, federated SSO and an OAuth 2.1 server.
Authentication

Aurora components rendered on the server and hydrated, templates, Vite and Tailwind, pages shared by server and browser.
Aurora

Native WebSockets with middleware and guards on the handshake, broadcast hubs with Redis fan-out, JSON-RPC over WebSocket.
WebSockets

The same components on the phone, native and without React, with server-driven screens and signed over-the-air updates.
Mobile

A runner, end-to-end HTTP tests, authentication helpers and test doubles for the framework's services.
Testing
npm install -g @c9up/ream-cli
ream new my-app # api, web, microservice or slim; postgres or sqlite
cd my-app
ream devA route points at a controller, which the container builds with its dependencies on every request:
// start/routes.ts
import router from '@c9up/ream/services/router'
import UsersController from '#app/modules/user/controllers/UsersController.js'
router.get('/users', [UsersController, 'index'])
router.post('/users', [UsersController, 'store'])
router.ws('/chat/:room', ({ socket }) => {
socket.on('message', (data) => socket.send(data))
})// app/modules/user/controllers/UsersController.ts
import { inject } from '@c9up/ream'
import type { HttpContext } from '@c9up/ream'
import { UserService } from '../services/UserService.js'
import { createUser } from '../validators/user.js'
@inject()
export default class UsersController {
constructor(private userService: UserService) {}
async index({ response }: HttpContext) {
response.json({ data: await this.userService.findAll() })
}
async store({ request, response }: HttpContext) {
const data = await request.validateUsing(createUser)
const user = await this.userService.create(data)
response.status(201).json({ data: user })
}
}Next: the tutorial builds a whole application, and the error reference explains every code the framework can raise.