A ready-to-use template for a Turborepo monorepo.
web: a React appapi: 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 appsbuildto build the appscheck-typesto check the typeslint: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.