Reputation: 987
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
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