A TodoMVC trying very strictly follow the specs, but still done with server-side Java only
Has simple detection of offline/online:
- In case of offline, a static offline-page is shown
- When switched back to online, page is refreshed to normal state
For instance, fig 1 something todo:
To switch to offline-mode (with Chrome), dev-tools, network
Check the offline
And one a refresh should happen so that a static webpage is served
- To be noted, this is merely testing, not a fully working solution
- Run using
mvn jetty:run
- Wait for the application to start
- Open http://localhost:8080/ to view the application