Skip to content

Get a head start on your Firebase Turborepo 🔥

Notifications You must be signed in to change notification settings

yamcodes/turborepo-firebase-starter

Repository files navigation

Turborepo Firebase starter

This is an unofficial starter Turborepo.

Who is this for?

You want to combine turborepo and firebase to have idempotent deployments locally and in CI/CD.

What's inside?

This Turborepo includes the following packages/apps:

Apps and packages

├── apps
│   ├── api # firebase function that is typescript and loaded as ESM and deployed as a firebase function
│   └── web # the react+vite front end deployed to firebase hosting

Each package/app is 100% TypeScript.

Prerequisites

Setup

  1. Edit .firebaserc and add your project's id
  2. Install dependencies
  pnpm i

Develop

  pnpm start

Deploy

  pnpm deploy

Special thanks

Hacksore for making turborepo-firebase-example. This project is a fork that updates the toolkit to support pnpm and the Vercel style guide.