Skip to content

dboris/purescript-weather-pwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-weather-pwa

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

...

Installation

bower install
npm install
pulp build --main Main --to static/main.js
pulp build --main Worker --to static/worker.js
open static/index.html

TODO

  • 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

About

Google's "Your First Progressive Web App" codelab translated to PureScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published