Getting Started with Firebase Admin in NextJs

Jolly Coding October 9, 2023
Video Thumbnail
Jolly Coding Logo

Jolly Coding

@jollycoding

About

Hi, I'm James. I'm a developer advocate passionate about all things web development, especially TypeScript and React. This channel is a spot for tutorials, tips, and insights on the latest web technologies.

Video Description

A quick tutorial on how to set up the Firebase Admin SDK on Nextjs 13, and how to use it in server components. I'll also show you how to hide firebase download urls using an API route. Blog Post with Code Snippets: https://www.jamesshopland.com/blog/nextjs-firebase-admin-sdk ----- Twitter: https://twitter.com/JollyShopland Personal Site: https://jamesshopland.com GitHub: https://github.com/jolbol1 JollyUI: https://jollycod.ing/ui Where I Work: https://jollycod.ing/work ---- 0:00 Intro 0:15 Creating a Firebase Project for NextJS 1:02 Getting Admin SDK service account credentials 3:00 Setup Firebase Admin SDK with NextJS 10:35 Using the Admin SDK to fetch data 21:15 How to hide Firebase Public download URLs