Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leerob/nextjs-vercel-firebase

Next.js App Router + Firebase
https://github.com/leerob/nextjs-vercel-firebase

firebase firestore nextjs vercel

Last synced: 6 days ago
JSON representation

Next.js App Router + Firebase

Awesome Lists containing this project

README

        

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fleerob%2Fnextjs-vercel-firebase&env=NEXT_PUBLIC_FIREBASE_PROJECT_ID,FIREBASE_CLIENT_EMAIL,FIREBASE_PRIVATE_KEY&project-name=nextjs-firebase&repo-name=nextjs-firebase)

# Next.js + Vercel + Firebase

> Next.js app using API Routes to connect with Firestore.

## Built With

- [Next.js](https://nextjs.org/)
- [Firebase](https://firebase.google.com)
- [Vercel](https://vercel.com)

## Running Locally

### Setup

1. Create a project in [Firebase](https://firebase.google.com/docs/firestore/quickstart).
1. Download your Firebase Service Account.
1. Create a new file `.env.local` and add environment variables (see `.env.example` for an example).

### Run Locally

```
$ yarn dev
```

Your app is available at http://localhost:3000.