Skip to content

Utilise Firebase Storage Realtime updates #22

Description

@Simba14

Utilise Realtime updates from Firebase storage

Is your feature request related to a problem? Please describe.
In order for users to view accurate data (e.g. available chats), when a user performs an action it should be immediately reflected to all other users. This has the benefit of users seeing new requests and updates to chats in real time (without having to refresh) and users always interacting with data that is up to date.

This feature can be implemented by utilising firebase’s realtime updates.

Describe the solution you'd like
Perhaps starting with the profile page, we can initialise and add the Firebase client to the frontend.
Rather than running through the current Apollo server, queries and mutations relating to the profile page will directly go through the Firebase client in the component. This will enable the benefit of realtime updates.

Using Firestore Lite might be also the best option (do not benefit from offline persistence but smaller bundle size).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions