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
Features
- defineService and typed actions
- In-process calls and HTTP routes from one definition
- Seeded in-memory data, no database needed
Service graph
Actions and routes
users
| Method | Path | Action | Access |
|---|---|---|---|
| POST | /api/users/getUser | getUser | public |
Source
Loading source…
Run it
The server listens on port 3000.