https://github.com/yamcodes/turborepo-firebase-starter
Get a head start on your Firebase Turborepo 🔥
https://github.com/yamcodes/turborepo-firebase-starter
firebase turborepo turborepo-example turborepo-starter turborepo-template
Last synced: 5 months ago
JSON representation
Get a head start on your Firebase Turborepo 🔥
- Host: GitHub
- URL: https://github.com/yamcodes/turborepo-firebase-starter
- Owner: yamcodes
- Created: 2024-03-29T13:17:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-04T22:27:19.000Z (over 1 year ago)
- Last Synced: 2025-03-08T22:03:16.115Z (over 1 year ago)
- Topics: firebase, turborepo, turborepo-example, turborepo-starter, turborepo-template
- Language: TypeScript
- Homepage:
- Size: 1.38 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Turborepo Firebase starter
This is an unofficial starter Turborepo.
### Who is this for?
You want to combine [turborepo](https://turborepo.org/) and [firebase](https://firebase.google.com/) 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](https://www.typescriptlang.org/).
### Prerequisites
- [Node.js](https://nodejs.org/en/download/)
- [pnpm](https://pnpm.io/installation)
- [Firebase CLI](https://firebase.google.com/docs/cli)
- A [Firebase project](https://firebase.google.com/docs/projects/create)
### Setup
1. Edit `.firebaserc` and add your project's id
2. Install dependencies
```sh
pnpm i
```
### Develop
```sh
pnpm start
```
### Deploy
```sh
pnpm deploy
```
## Special thanks
[Hacksore](https://github.com/hacksore) for making [turborepo-firebase-example](https://github.com/hacksore/turborepo-firebase-example). This project is a fork that updates the toolkit to support [pnpm](https://pnpm.io/installation) and the [Vercel style guide](https://github.com/vercel/style-guide).