Full-Stack Rust
Full-stack architecture
A full-stack system should have explicit boundaries even when one language is used throughout. Keep browser input untrusted and validate it at the API boundary.
| Layer | Responsibility |
|---|---|
| UI | Interaction and presentation |
| API | Authentication, validation and transport |
| Domain | Business rules |
| Persistence | Durable data |
Lesson complete?Use the next lesson to continue the learning path.