Cookbook
Cookbook
Practical patterns organized by category: auth, CRUD, files, jobs, real-time, caching, and frontend
Practical patterns and real-world examples for common tasks in Arcway.
Sections
- Authentication — Signup, login, logout, API key auth, protected routes
- CRUD API — Resource endpoints, validation, transactions, soft deletes
- File Upload — Upload, serve, list, and delete files
- Background Jobs — Queue patterns, batch processing, scheduled tasks
- Real-Time & Events — WebSocket handlers, event-driven side effects
- Caching — Cache-aside, cache invalidation, per-user caches
- Forms & Frontend — Forms with validation, pagination, error handling