↑ ↓ navigate↵ selectesc close

Building a web application with Next.js and Firebase - Firebase Summit 2021

GitHub Repo

In order to clone this application locally run the below command. Please note you will need git

git clone https://github.com/CodingCatDev/ccd-starter-nextjs-tailwind-firebase.git

Firebase

Make sure to setup a new project with a Firestore database.

Install dependencies

cd backend/firebase && npm install
Make sure you are first in the firebase directory
firebase deploy

The video will cover how the different page types work for firebase.

Install dependencies

To get started make sure to

cd frontent/nextjs-tailwind && npm install

Run locally

Make sure to change the .env.local.template to .env.local and update the parameters from firebase.

To run the dev server (staying in the same directory)

npm run dev

Technical Overview: Building a web application with Next.js and Firebase - Firebase Summit 2021

Building a web application with Next.js and Firebase: For details on how to setup the sample application please visit:
https://codingcat.dev/tutorial/building-a-web-application-with-next-js-and-firebase-firebase-summit-2021, hello everyone my name is alex patterson and you probably have seen me as this guy but most people know me as codingcat.dev in this talk we're going to break down why firebase and next.js are a perfect match they're made for each other so strap on that seatbelt we're going to go through all of nexjs and firebase in less than 20 minutes let's get started okay so the first thing that we should proba...

In the recorded walkthrough, the session covers: Firebase and next.js are a perfect match they're made for each other so strap on that seatbelt we're going to go through all of nexjs and firebase in less than 20 minutes let's get started okay so the first thing that we should probably do is check out the app that we're going to write in this application it's running off next.js and right now we're just at the index page so we see some.

Continuing deeper into the implementation details: Application the second page i want to show is a client-side page in this client side page we're just fetching data about our cats now currently i don't have a way to actually add any cats so i need to sign in and now i have the ability to add cats to the application so the first cat's name i'm gonna name this because ones are coming up first i'll just do one crazy cat.

When applying the concepts from Building a web application with Next.js and Firebase - Firebase Summit 2021 in a production codebase, teams working with Firebase, Next.js should align their implementation with the Firebase Documentation (Firestore, Data Connect, Authentication, App Check, and Cloud Functions). Structuring your workflow around repeatable patterns, automated verification, and clear separation of concerns helps prevent regressions as your application scales.

Key Engineering Takeaways

  • Core Topic Focus: Practical strategies for Firebase, Next.js covered in "Building a web application with Next.js and Firebase - Firebase Summit 2021" (In this 20 minute demo I quickly show you how to get up and running with Next.js and Firebase.).
  • Production Implementation: Combine the architectural patterns demonstrated in this post with the official Firebase Documentation for type safety, performance, and long-term maintainability.
  • Hands-On Video Walkthrough: Follow along with the live coding demos and discussion on YouTube (Building a web application with Next.js and Firebase - Firebase Summit 2021) and subscribe to CodingCat.dev on YouTube for weekly deep dives.

Resources, Links & Official Documentation

Related CodingCat.dev Tutorials & Podcast Episodes

Frequently Asked Questions (FAQ)

What are the main takeaways from Building a web application with Next.js and Firebase - Firebase Summit 2021?

In this 20 minute demo I quickly show you how to get up and running with Next.js and Firebase. Building a web application with Next.js and Firebase: For details on how to setup the sample application please visit:
https://codingcat.dev/tutorial/building-a-web-application-with-next-js-and-firebase-firebase-summit-2021, hello everyone my name is alex patterson and you probably have seen me as this guy but most people know me as codingcat.dev in this talk we're going to break down why firebase and next.js are a perfect match they're made for each other so strap on that seatbelt we're going to go through all of nexjs and firebase in less than 20 minutes let's get started okay so the first thing that we should proba... Throughout this post, Alex Patterson breaks down real-world implementation details for Firebase, Next.js so developers can apply these patterns directly in production.

How do you implement Firebase best practices in production?

When adopting Firebase and Next.js in a production stack, start by validating your configuration against the Firebase Documentation (Firestore, Data Connect, Authentication, App Check, and Cloud Functions). Focus on incremental adoption, automated testing, and observability so your team can measure performance and developer velocity improvements at each stage.

Where can I watch the full Building a web application with Next.js and Firebase - Firebase Summit 2021 walkthrough and find related code resources?

You can watch the complete video session for Building a web application with Next.js and Firebase - Firebase Summit 2021 on the CodingCat.dev YouTube channel. For a deeper dive into Firebase, check out our related guide: Next.js Deployment Adapters: A bright future for Next.js on Google Cloud in Firebase: Web Architecture & Implementation Guide.

✏️ Video Summary

Building a web application with Next.js and Firebase: For details on how to setup the sample application please visit: https://codingcat.dev/tutorial/building-a-web-application-with-next-js-and-firebase-firebase-summit-2021 🔔 Subscribe for weekly AI, MCP & Web Architecture deep dives: https://www.youtube.com/@CodingCatDev?sub_confirmation=1 🐾 Explor — hello everyone my name is alex patterson and you probably have seen me as this guy but most people know me as codingcat.dev in this talk we're going to break down why firebase and next.js are a perfect match they're made for each other so strap on that seatbelt we're going to go through all of nexjs and firebase in less than 20 minutes let's get started okay so the first thing that we should proba...

✏️ Visual Architecture Diagram

how this post connects together.

Follow AJ from first principles to production-ready architecture.

✏️ Visual Diagram: Building a web application with Next.js and Fire…
✓ Good PatternVISUAL DIAGRAM
Visual Diagram: Building a web application with Next.js and Fire…Visual architectural diagram showing: Step 1: Building a web applica (Mental model & why it matters) -> Step 2: Hands-On Implementation (Under the hood & live code) -> Step 3: Ship It Purrfectly (✓ Production trade-offs). Step-by-step diagram breakdown for Building a web application with Next.js and Firebase - Firebase Summit 2021: start with Building a web applica, implement Hands-On Implementation, and ship to production.✓Step 01Building a web applicaMental model & why it matters✓Step 02Hands-On ImplementationUnder the hood & live code✓Step 03Ship It Purrfectly✓ Production trade-offsunroll the yarn✓ production ready
[Diagram Walkthrough]Step-by-step diagram breakdown for Building a web application with Next.js and Firebase - Firebase Summit 2021: start with Building a web applica, implement Hands-On Implementation, and ship to production.
AAA Contrast Verified