A collection of production-grade React patterns for large-scale enterprise apps. The repository uses a monorepo-lite structure with npm workspaces. Styles are authored in SCSS while exposing CSS variables so themes can swap at runtime.
npm install
npm run dev # start demo app
npm run storybook # UI package docs
npm test # run unit tests
npm run e2e # run Playwright testsDeploy the demo app to Vercel with the following settings:
- Root Directory:
. - Install Command:
npm ci - Build Command:
npm run build:vercel - Output Directory:
apps/demo-app/dist
vercel.json handles SPA rewrites and immutable caching for built assets.
- Fork the repo and create a new branch.
- Run
npm run lintandnpm testbefore submitting PRs. - Ensure your changes include relevant tests and documentation.
apps/demo-app– Vite + React demo showcasing patterns.packages/ui– Design primitives and tokens with Storybook docs.packages/adapters– TypeScript interfaces for external services.packages/testing– Shared test utilities and MSW setup.examples/*– Guides for specific enterprise scenarios.
MIT