Next.js app using API Routes to connect with Firestore.
- Create a project in Firebase.
- Download your Firebase Service Account.
- Create a new file
.env.local
and add environment variables (see.env.example
for an example).
$ yarn dev
Your app is available at http://localhost:3000.