How do I implement Firebase auth and Firestore in NextJS?

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

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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • next-firebase-auth-edge

    Next.js Firebase Authentication for Edge and Node.js runtimes. Compatible with latest Next.js features.

  • Hey everyone, I am a react native developer and my company is moving me to the web team since we need to flesh out the website as fast as possible since that is our biggest complaint with users/customers. On our app we are using firebase auth and firestore for our DB. Looking at implementing firebase auth and firestore with next seems to be much trickier than just using the client side SDK on react native. I would like to know if anyone has any suggestions on how to do this. I found this library called next-firebase-auth-edge and I heard good things about it. Since I am mostly a frontend developer the code for this was tricky since it looks like it just stores the user auth instance as a cookie and sends a jwt to the server to write to Firestore. The issue here though is that since server side firebase code users the firestore admin rules, this mean I need to manually check the user since Firestore can't use security rules. I know this is common for other server side code, but was not sure if this was ideal for firestore or if there are any security issues with this. Pretty much I just want to check with someone who has more experience in backend field since I am still getting used to backend code and security. Honestly, even just a casual explanation would be helpful since I haven't touched server code in 2+ years. Thanks in advance!

  • 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

  • Xior.js: The Modern Axios

    1 project | news.ycombinator.com | 9 May 2024
  • Lit vs Rimmel - Comparing tagged-template UI libraries

    2 projects | dev.to | 9 May 2024
  • Vue 3 Forms and Validations with VueFormify and yup

    3 projects | dev.to | 9 May 2024
  • Getting Started with NestJs: CRUD Operations

    1 project | dev.to | 9 May 2024
  • Achivments for You Commits

    1 project | news.ycombinator.com | 8 May 2024