Our great sponsors
-
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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You can see an example on my blog page! The source code is available here.
So I set out on creating the system with Firebase, TailwindCSS and React. While TailwindCSS is not a compulsion, it's my go to library. Let's get started.
So I set out on creating the system with Firebase, TailwindCSS and React. While TailwindCSS is not a compulsion, it's my go to library. Let's get started.
// File: @/lib/firebase.js import 'firebase/firestore' import firebase from 'firebase/app' // More about firebase config on https://firebase.google.com/docs/web/setup#config-object var firebaseConfig = { apiKey: '', authDomain: '', projectId: '', storageBucket: '', messagingSenderId: '', appId: '', } if (!firebase.apps.length) { firebase.initializeApp(firebaseConfig) } else { firebase.app() } export const firestore = firebase.firestore() export default firebase
// File: @/lib/firebase.js import 'firebase/firestore' import firebase from 'firebase/app' // More about firebase config on https://firebase.google.com/docs/web/setup#config-object var firebaseConfig = { apiKey: '', authDomain: '', projectId: '', storageBucket: '', messagingSenderId: '', appId: '', } if (!firebase.apps.length) { firebase.initializeApp(firebaseConfig) } else { firebase.app() } export const firestore = firebase.firestore() export default firebase