├── .firebaserc ├── .gitignore ├── README.md ├── firebase.json └── public ├── css └── style.css ├── images ├── 144x144.png ├── 168x168.png ├── 192x192.png ├── 48x48.png ├── 72x72.png ├── 96x96.png ├── Home.svg ├── books.png ├── ic_refresh_white_24px.svg ├── profile.png ├── push-off.png └── push-on.png ├── index.html ├── js ├── app.js ├── latest.js ├── menu.js ├── notification.js ├── offline.js └── toast.js ├── latest.html ├── manifest.json └── sw.js /.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "ril-pwa" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Progressive Web App - GitHub Commits 2 | 3 |  4 | 5 | This is the progressive web app that accompanies the series of `Introduction to Progressive Web Apps` Article on [auth0's blog](https://auth0.com/blog). 6 | 7 | ## Installation 8 | 9 | 1. Clone this repository: `git@github.com:unicodeveloper/pwa-commits.git pwa/` 10 | 2. `cd` into the `pwa` folder. 11 | 3. Run a local server like `http-server` and see the application served on `localhost:8080` 12 | 13 | 14 | ## Features 15 | 16 | 17 | - [x] - App Shell Architecture 18 | 19 | - [x] - Service Worker 20 | 21 | - [x] - Add to home screen 22 | 23 | - [x] - Fallback when offline 24 | 25 | - [x] - Online/Offline events 26 | 27 | - [x] - Fetch API 28 | 29 | - [x] - Push notification 30 | 31 | 32 | ## Tutorial Project 33 | 34 | This progressive web app was built for the sole purpose of: 35 | 36 | * [Introduction to Progressive Web Apps - Part 1](https://auth0.com/blog/introduction-to-progressive-apps-part-one) 37 | * [Introduction to Progressive Web Apps - Part 2](https://auth0.com/blog/introduction-to-progressive-web-apps-instant-loading-part-2) 38 | * [Introduction to Progressive Web Apps - Part 3](link-to-part-3) 39 | 40 | **Note:** You can learn from the codebase, but it's not advisable to just copy and paste everything into production because there are lots of edge cases that I didn't handle. 41 | 42 | ### License 43 | PWA-Commits is open-sourced software licensed under the [MIT license](https://github.com/unicodeveloper/pwa-api/blob/master/LICENSE) 44 | -------------------------------------------------------------------------------- /firebase.json: -------------------------------------------------------------------------------- 1 | { 2 | "hosting": { 3 | "public": "public" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /public/css/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | # BEM (BLOCK, ELEMENT, MODIFIER) METHEDOLOGY 4 | 5 |
Latest Commits on Resources I like!
39 |