brick.ts
All examples

Showcase

The smallest Brick service: one typed action served over HTTP and callable in process. The source behind the home page.

  • Starter
  • Typed actions

1 services · 1 actions · 0 tables · 5 files

Open in GitHub

Features

  • defineService and typed actions
  • In-process calls and HTTP routes from one definition
  • Seeded in-memory data, no database needed

Service graph

TablesServiceResources and actionsgetUserPOSTusers

Actions and routes

users

MethodPathActionAccess
POST/api/users/getUsergetUserpublic

Source

Loading source…

Run it

The server listens on port 3000.