Live version, running gatsby branch.
- Running on Netlify with a couple lambda functions serving as the backend
- Postgres on Heroku with Hasura
- a longer-than-I’d-like list of dependencies (thanks Gatsby! /s)
Must have gatsby-cli installed to run the package scripts
-
npm install -g gatsby-cl(or usenpx) -
npm installfrom root -
npm run developto start a dev server.
The actual blog posts are in a different repo (referenced as a submodule in the content directory).
If trying to implement push notifications, the relevant files are:
/src/components/PushNotification.js- React componentappendScriptoption ingatsby-plugin-offlinesrc/notification-sw.js- service workerfunctions/push-notification.js- serverless function (aws lambda etc)functions/push-subscription.js- serverless function