Skip to content

bastiengrignon/turborepo-starter

Repository files navigation

Turborepo Starter kit

A ready-to-use template for a Turborepo monorepo.

Apps

  • web: a React app
  • api: a Fastify app

Front-end

It comes with a basic Mantine layout, with authentication pages, and a basic settings page to handle user updates.

Back-end

A basic Fastify server with authentication routes handled by BetterAuth and Prisma DB.

Packages

  • typescript-config: tsconfig.jsons used throughout the monorepo

Turborepo

  • dev to run the apps
  • build to build the apps
  • check-types to check the types
  • lint:fix to lint the code of all apps using BiomeJS

Configuration

  1. Start by copying the .env.example file to .env and adjust the values.
  2. Run yarn to install the dependencies.
  3. If you don't already have a Postgres database, create one using docker-compose.yml file (docker-compose up -d).
  4. Run npx prisma db push to create the database and tables.
  5. Run yarn dev to start the apps.

About

Monorepo starter for turborepo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages