A tutorial for using Firebase to add authentication and authorization to a realtime Hasura app
This tutorial demonstrates how to integrate Firebase Authentication with a realtime Hasura app. The process involves setting up Hasura and creating the data model using the Hasura Console, setting up authentication, and building the React web app. The integration of Firebase Authentication is chosen due to its security features and ease of use. The tutorial also covers how to set environment variables in the project settings, create a data model with tables for "programming_language" and "loved_language", define permissions for different roles, and deploy a cloud function using Firebase Cloud Functions. Finally, it discusses building the React app components and subscribing to real-time data using Apollo Client. The code for this tutorial is available on GitHub.
Company
Hasura
Date published
Sept. 7, 2022
Author(s)
Harsha
Word count
1320
Language
English
Hacker News points
None found.