<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/firebase-crash-course-auth-firestore-7---setting-up-a-firestore-database-oyhm5v1sf" -->

---
title: Firebase Crash Course (Auth &amp; Firestore) #7 - Setting up...
description: Part 7 of a Firebase crash course covering how to set up a Firestore database. Explains NoSQL concepts (collections vs documents vs SQL tables/rows), walks...
canonical: https://daily.dev/posts/firebase-crash-course-auth-firestore-7---setting-up-a-firestore-database-oyhm5v1sf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Firebase Crash Course (Auth &amp; Firestore) #7 - Setting up a Firestore Database | daily.dev
og:description: Part 7 of a Firebase crash course covering how to set up a Firestore database. Explains NoSQL concepts (collections vs documents vs SQL tables/rows), walks...
og:url: https://daily.dev/posts/firebase-crash-course-auth-firestore-7---setting-up-a-firestore-database-oyhm5v1sf
og:image: https://api.daily.dev/og/posts/oyhM5V1sf.png
og:image:alt: Firebase Crash Course (Auth &amp; Firestore) #7 - Setting up a Firestore Database
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Firebase Crash Course (Auth & Firestore) #7 - Setting up a Firestore Database

**[Net Ninja](https://daily.dev/sources/netninja)** · 4 min read · 0 upvotes · 0 comments

## Summary

Part 7 of a Firebase crash course covering how to set up a Firestore database. Explains NoSQL concepts (collections vs documents vs SQL tables/rows), walks through creating a Firestore database in the Firebase console in test mode, and shows how to initialize the Firestore service in code by exporting a DB instance using getFirestore().

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=60hVNuoDlwQ>

## Similar posts on daily.dev

- [How Firestore Structures Data and How to Perform CRUD Operations With It](https://daily.dev/posts/how-firestore-structures-data-and-how-to-perform-crud-operations-with-it-odioykply) · freeCodeCamp · 1 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#authentication](https://daily.dev/tags/authentication), [#firebase](https://daily.dev/tags/firebase), [#nosql](https://daily.dev/tags/nosql), [#firestore](https://daily.dev/tags/firestore)

[View this post on daily.dev](https://daily.dev/posts/firebase-crash-course-auth-firestore-7---setting-up-a-firestore-database-oyhm5v1sf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Firebase Crash Course (Auth & Firestore) #7 - Setting up a Firestore Database","url":"https://daily.dev/posts/firebase-crash-course-auth-firestore-7---setting-up-a-firestore-database-oyhm5v1sf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/firebase-crash-course-auth-firestore-7---setting-up-a-firestore-database-oyhm5v1sf"},"datePublished":"2026-07-27T09:51:29.050Z","dateModified":"2026-07-27T09:51:44.243Z","description":"Part 7 of a Firebase crash course covering how to set up a Firestore database. Explains NoSQL concepts (collections vs documents vs SQL tables/rows), walks...","image":"https://i.ytimg.com/vi/60hVNuoDlwQ/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/60hVNuoDlwQ/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Net Ninja","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Net Ninja","logo":"https://media.daily.dev/image/upload/s--IXsAE5jo--/f_auto/v1718348103/logos/netninja","url":"https://daily.dev/sources/netninja"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/firebase-crash-course-auth-firestore-7---setting-up-a-firestore-database-oyhm5v1sf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,authentication,firebase,nosql,firestore","timeRequired":"PT4M","video":{"@type":"VideoObject","name":"Firebase Crash Course (Auth & Firestore) #7 - Setting up a Firestore Database","description":"Part 7 of a Firebase crash course covering how to set up a Firestore database. Explains NoSQL concepts (collections vs documents vs SQL tables/rows), walks...","thumbnailUrl":"https://i.ytimg.com/vi/60hVNuoDlwQ/sddefault.jpg","uploadDate":"2026-07-27T09:51:29.050Z","duration":"PT4M","url":"https://api.daily.dev/r/oyhM5V1sf","embedUrl":"https://www.youtube.com/embed/60hVNuoDlwQ"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Net Ninja","item":"https://daily.dev/sources/netninja"},{"@type":"ListItem","position":3,"name":"Firebase Crash Course (Auth & Firestore) #7 - Setting up a Firestore Database"}]}
```

