Tutorials
Tutorials
A guided, beginner-to-advanced path. Every tutorial is runnable and uses only real StreetJS APIs — copy, paste, run.
New to StreetJS? Start with Getting Started to scaffold a project, then follow the beginner track below in order.
Beginner track
| # | Tutorial | You will learn |
|---|---|---|
| 1 | Your First StreetJS API | Routing, controllers, services, dependency injection |
| 2 | Building a REST API | CRUD, validation, error handling, pagination, OpenAPI |
| 3 | PostgreSQL Integration | Pool setup, migrations, queries, repositories |
| 4 | Authentication & Authorization | JWT, sessions, RBAC, MFA |
| 5 | WebSockets & Realtime | Channels, presence, notifications |
| 6 | Full-Stack with React | @streetjs/client + @streetjs/react hooks, auth, realtime |
Intermediate track
These build on the beginner track and combine multiple subsystems. Each links to the relevant guide; standalone walkthroughs are published incrementally (see the program roadmap).
| Tutorial | Primary building blocks | Reference |
|---|---|---|
| Multi-Tenant SaaS | RBAC + tenancy + @streetjs/admin-ui |
Auth, admin UI |
| Background Jobs & Queues | Job runner + scheduling | Jobs guide |
| Search | Search platform / Meilisearch plugin | Examples |
| File Uploads & Storage | uploadFile + storage plugins (S3/R2) |
Storage |
| AI Assistant with RAG | AI streaming + @streetjs/ai-ui |
AI |
| Event-Driven Architecture | Webhooks + realtime channels | Realtime |
Advanced track
| Topic | Reference |
|---|---|
| High-Traffic API Design | Performance |
| Zero-Trust Security Architecture | Security |
| Observability & Monitoring | Observability |
| Kubernetes Deployment | Deployment |
| Enterprise RBAC & Audit Logging | Enterprise |
Scope & honesty. Tutorials marked with a direct link are published and verified against the current APIs. Items that point to a guide are planned as standalone step-by-step tutorials and currently route you to the closest existing reference. The full curriculum and its delivery schedule live in the Tutorials & Examples Program.