Google's Your First Progressive Web App codelab translated to PureScript.
This Weather application has a relatively small code size and is a good place to start learning both PureScript and Progressive Web App concepts. It can serve as an example of how to use PureScript for:
- DOM manipulation
- AJAX requests
- JSON parsing
- Persisting data in local storage
- Caching files in cache storage
- Using service workers
...
bower install
npm install
pulp build --main Main --to static/main.js
pulp build --main Worker --to static/worker.js
open static/index.html
- Implement your App Shell
- Start with a fast first load
- Use service workers to pre-cache the App Shell
- Use service workers to cache the forecast data
- Support native integration