The official monorepo for the Vaella project.
NOTE This repo is a WIP & subject to change.
It is built with:
- CloudFlare D1
- CloudFlare Workers
- Hono
- GraphQL Yoga
- Next.js 14 App Dir.
- Shadcn
- Tailwind
- Resend
api
: Cloudflare Workers, Hono, GraphQL Yoga api.docs
: Scaffolded Next.js app (not used.)web
: Vaella web app built with Next.js.@repo/ui
: a stub React component library shared by bothweb
anddocs
applications (not used.)@repo/transactional
: Email components with Resend@repo/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
).@repo/typescript-config
:tsconfig.json
s used throughout the monorepo.
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To develop all apps and packages, you need a few environment variables.
Run the following command:
cp dev.vars.example dev.vars
And follow this guide to create a D1 Database
Run the following command:
cp .env.example .env.local
And follow the Resend guide to generate an API Key
Finally, run the following command:
cd my-turborepo
pnpm dev
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build