/periodic-background-sync-example

Example project using the periodic background sync

Primary LanguageJavaScript

periodic-background-sync-example

Example project using the periodic background sync API

Installation

npm install

Replace the API-KEY string at the top of index.js and service-worker.js with a free key from https://newsapi.org.

Start

Run npm start and go to http://localhost:5000.

Tutorial

This repository is a resource of a tutorial that I wrote on my blog about periodic background syncs. Click here to read the article.