/monorepo-template

PNPM Monorepo for frontend and backend codebases

Primary LanguageTypeScriptMIT LicenseMIT

Digest Monorepo

The entire collection of apps for building the Meal planning solution for Africa.

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

  • admin: a Vite app for powering Backoffice management
  • backend: another Nitro app for backend development
  • @repo/ui: a stub React component library shared by both admin and future frontend apps
  • @repo/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • @repo/typescript-config: tsconfig.jsons used throughout the monorepo
  • @repo/shared: Shared utilities used throughout the monorepo
  • @repo/apis: API code and query utilities used throughout the monorepo

Each package/app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

  • TypeScript for static type checking
  • Prettier for code formatting
  • Biome - Formatting, Linting and Code quality
  • Ofetch - Data fetching
  • Zod - Type safe and Data Validation
  • Effect - Code confidence

Develop

To develop all apps and packages, run the following command:

pnpm dev

Build

To build all apps and packages, run the following command:

pnpm build