Monorepo template for creating a web application.
href
and src
paths))eslint --fix
and prettier
when saving with VS Codeapps/
backend
mockup
[Demo]web
[Demo]packages/
eslint-config
pnpm i # Resolve dependency packages and prepare .env files
# Then set up /.env
# Run command for each package (apps/ + packages/)
pnpm generate # Generate and sync Supabase type definitions between backend and web apps
pnpm build #
pnpm lint # root: cspell + prettier --check
pnpm test #
pnpm format # root: Format project-words.txt + prettier --write
Run pnpm generate
to generate Supabase types. This command will:
apps/backend/$generated/supabase-types.ts
apps/web/src/lib/$generated/supabase-types.ts
This ensures type consistency between the backend and frontend applications.
apps/backend/
- Supabase Local Dev / CLI54321
: API / GraphQL / S3 Storage54322
: DB (Postgres)54323
: Studio54324
: Inbucketapps/web/
- SvelteKit application5173
: Development serverapps/mockup/
- Static site3000
: BrowserSync server49160
: Express serverIf you need to prepare GitHub / Vercel environment, you need to set all environment variables (.env
items) in each service.
tailwind.config.js
)@repo/
eslint-config-custom-typescript
into eslint-config-custom
nextjs-template
repository to webapp-template