Class-as-a-Backend Demo
This app is deployed via Bodify — a self-hosted Vercel alternative. The backend is a TypeScript class whose methods auto-become HTTP endpoints. Push to main → production. Push to lab → preview.
Branch
main
API version
v1.0.20
FE build
#dev
API Status
ok
Items stored
3
Items — managed via CaaB API
- Push to lab = preview deploy
- Push to main = production deploy
- Hello from Bodify!
Auto-generated endpoints
Routes reflected from Api (root) + Items + Auth resources:
| Method | Path | Class · method |
|---|---|---|
| GET | /api/healthz | Api · getHealthz() |
| GET | /api/items | Items · get() |
| GET | /api/items/by-id/:id | Items · getById(id) |
| POST | /api/items | Items · post(body) |
| DELETE | /api/items/:id | Items · delete(id) |
| POST | /api/auth/signup | Auth · postSignup(body) |
| POST | /api/auth/login | Auth · postLogin(body) |
| GET | /api/auth/me/:token | Auth · getMe(token) |
| POST | /api/auth/logout | Auth · postLogout(body) |