Architecture
Understand how APSO works under the hood. This section covers the platform architecture, generated code structure, security model, and scaling considerations.
Overview
APSO is a code generation platform that produces production-ready backend applications. Unlike traditional BaaS platforms, APSO generates real code that you own.
Architecture Topics
How APSO’s code generation platform works
Platform ArchitectureStructure and layers of generated applications
Generated CodeAuthentication, authorization, and data isolation
Security ModelHorizontal scaling, caching, and performance
ScalingKey Principles
Code Ownership
You own 100% of the generated code. There are no:
- Runtime dependencies on APSO
- Black box components
- Vendor lock-in
Clean Architecture
Generated code follows clean architecture principles:
- Domain-driven design patterns
- Clear separation of concerns
- Dependency injection
- Interface-based abstractions
Extensions Over Modifications
The extensions pattern keeps your customizations safe:
- Generated code is regeneratable
- Custom logic lives in
extensions/ - Schema changes merge cleanly
Security First
Built-in security patterns:
- Multi-tenancy with data isolation
- JWT-based authentication
- Input validation on all endpoints
- SQL injection prevention
Last updated on