Skip to content

amr08/nyt-service-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYTimes React/Redux app with Service Worker

Note* User notifications only trigger when a service worker update is available by me deploying a new version. I've recorded these events below. (Please excuse UI as I was going more for functionality :) )

Task: Make an application that works offline and present user notifications which will replace a service worker if there is a newer version.

Tech


  • React, Redux
  • Node, Express
  • Front-End Framework: Semantic UI React
  • NYT API
  • Service Worker

Service worker in action updating by User Notification

Application Offline


Getting started with local dev (master branch) - recommended

*(Node server is in build branch for deployment at localhost:8080)

Prerequisites

This application uses Node.js and NPM

Installing and Running

To install package.json:

$ npm install

To start server:

$ npm start

localhost:3000 will open in browser

Voila!