VinoPravin
VinoPravin

Reputation: 987

Angular PWA Offline data handling

in recent days I've started hearing about service workers which are cool. I want to implement the service workers in my angular project to make my web app completely works offline which means the user should handle the data as much in offline and once they found internet then the data should get updated with the MongoDB (Which we are using for the database). I'm hearing about indexeddb but I don't know how to integrate it with my angular. Any proper angular way of doing this. Or any good tutorial to follow?

Thanks in advance

Upvotes: 3

Views: 4815

Answers (1)

Anand
Anand

Reputation: 10100

You can use background sync feature to enable offline mode for your data puch to server side and sync when user is online .

Check on this article on how to implement it.

Upvotes: 1

Related Questions