Example project using the periodic background sync API
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.
Run npm start
and go to http://localhost:5000.
This repository is a resource of a tutorial that I wrote on my blog about periodic background syncs. Click here to read the article.