Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • firebase-js-sdk

    Firebase Javascript SDK

  • import firebase from 'firebase/compat/app'; import 'firebase/compat/auth'; // import 'firebase/compat/firestore'; import 'firebase/firestore' import { getFirestore } from 'firebase/firestore'; // Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; // TODO: Add SDKs for Firebase products that you want to use // https://firebase.google.com/docs/web/setup#available-libraries // Your web app's Firebase configuration // For Firebase JS SDK v7.20.0 and later, measurementId is optional const firebaseConfig = { apiKey: "AIzaSyAe0ymiq7-xQkryep_gM_n55XUFE4DL2As", authDomain: "tweeter-228eb.firebaseapp.com", projectId: "tweeter-228eb", storageBucket: "tweeter-228eb.appspot.com", messagingSenderId: "379870206403", appId: "1:379870206403:web:958f46354aec43720c0576", measurementId: "G-Y393FSYMF8" }; // Initialize Firebase const firebaseApp = firebase.initializeApp(firebaseConfig); const analytics = getAnalytics(firebaseApp); // const db = firebaseApp.firestore(); const db = getFirestore(); const auth = firebase.auth(); export default { auth, db };

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts