Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
10 replies
endalk200

Code architecture best practices for large codebases in the context of t3 stack

What do you think of this code architecture in the scenario where you are working in large codebase with many apps
.
├── apps/
│   ├── nextjs-app
│   ├── mobile-app
│   ├── docs site
│   └── ...
└── libs/
    ├── shared/
    │   ├── data-layer/
    │   │   └── libs...
    │   ├── feature-layer    /
    │   │   └── libs...
    │   └── ui-layer/
    │       └── libs...
    ├── nextjs-app/
    │   ├── data-layer/
    │   │   └── libs...
    │   ├── feature-layer/
    │   │   └── libs...
    │   └── ui-layer/
    │       └── libs...
    └── mobile-app/
        ├── data-layer/
        │   └── libs...
        ├── feature-layer/
        │   └── libs...
        └── ui-layer/
            └── libs...
Was this page helpful?