Skip to content

local-first support for craftbase #7

@meetzaveri

Description

@meetzaveri

Synopsis:
I want craftbase to be local-first rather than cloud-first. Being in local-first would make it accessible over in no internet phase as well. Right now, every action interacts with the database hosted on cloud.

In that case we may need to put efforts into how app relies on the data. There are different ideas/usage I can share

  • Create the data store in localStorage. This data store will act as single source of truth for all the business logic actions
  • This would disable the collaboration feature since this happens over the cloud.
  • In a dual mode, you would like to sync data which was stored when offline , but when you come back online, it gets synced with the cloud. So that you can have sort of integrity for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions