A ready-to-use template for a Turborepo monorepo.
- web: a React app
- api: a Fastify app
- Mantine for the UI
- Vite for the bundler
- React Router for routing
- Better Auth for authentication
- React icons as icons library
- React i18n for internationalization
It comes with a basic Mantine layout, with authentication pages, and a basic settings page to handle user updates.
- Fastify for the server
- Better Auth for authentication
- Prisma for the Database
A basic Fastify server with authentication routes handled by BetterAuth and Prisma DB.
- typescript-config:- tsconfig.jsons used throughout the monorepo
- devto run the apps
- buildto build the apps
- check-typesto check the types
- lint:fixto lint the code of all apps using BiomeJS
- Start by copying the .env.examplefile to.envand adjust the values.
- Run yarnto install the dependencies.
- If you don't already have a Postgres database, create one using docker-compose.yml file (docker-compose up -d).
- Run npx prisma db pushto create the database and tables.
- Run yarn devto start the apps.