Skip to content

This is a proof of concept of a website that can work in an offline mode and synch any updates to the server when it comes online.

Notifications You must be signed in to change notification settings

standardco/OfflineWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Offline Website

This is a simple example of how to implement web-storage and cache manifest to create a web app that can function without internet connectivity.

####Functionality

With this web app you will be able to:

  • Save a post to our Postgres database when connected to the internet.
  • When disconnected from the internet, submitting a post will save it locally in web-storage
  • When reconnected to the internet you can click the Sync Database button to upload what is stored in web-storage. This will also delete the data from web-storage.

####Example

There is also a guide to setting up web-storage that has been written along side this web app. To see how to setup web-storage using IndexedDB visit the related blog post

About

This is a proof of concept of a website that can work in an offline mode and synch any updates to the server when it comes online.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published