I’m working on a telco project that will be deployed across eight different regions.
Each region will have:
Different color branding
Possibly some UI component variations
However, all API integrations, logic, and features remain the same across regions.
I want to maintain a single centralized repository, instead of creating eight separate repos.
The challenge is: if I keep all regions in one codebase, it may lead to multiple if/else checks, which will increase code complexity and reduce maintainability.
Project stack: Next.js (App Router)