-
next-firebase-auth-edge
Next.js Firebase Authentication for Edge and Node.js runtimes. Compatible with latest Next.js features.
-
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.
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!