Real-World Wiring
This page outlines how to structure a production-ready Quik application without referencing a specific internal project.
Suggested path
- Define
AppModuleand register core modules first. - Add HTTP + adapter modules to expose routes.
- Add database + entity modules for persistence.
- Add auth, logging, telemetry as needed.
- Keep configuration in a single place and load via
getConfig().
Example structure
src/
app/
AppModule.ts
config/
index.ts
http/
routes/
modules/
users/
models/
services/
routes/
main.ts
Operational notes
- Register modules in dependency order.
- Keep module-level configuration in
src/config. - Use separate
routes,models, andservicesfolders per domain.