How do you make a browser-based app without web server?

Though this question was raised long back, feeling its relevance now also, below are the solution options that became available now as part of the developments in creating Progressive Web Applications(PWA).

Offline capability or offline first thinking being an important characteristic of PWA, the way PWA introduces the offline capability is by using

  • Application Cache/ Service Workers to manage your application when the user is offline.
  • For storing data you can use Cache API, IndexedDB API, Web Storage API. Here one of the promising API localForage is that wraps IndexedDB, WebSQL, or localStorage which makes it compatible with legacy browers as well

Another way of solving the problem would be to use the Hoodie, free and open source solution from the Offline First GitHub Organisation. This uses CouchDB and Node.js written in JavaScript.


I guess if you want this done, then you need to start working on your politicking skills and get them to see the value of a real server that would help all involved. You can build it so that it is internal only.