项目作者: amr08
项目描述 :
*Offline first* React/Redux app with Service Worker
高级语言: JavaScript
项目地址: git://github.com/amr08/nyt-service-worker.git
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!