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 install
from root -
npm run develop
to 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 componentappendScript
option ingatsby-plugin-offline
src/notification-sw.js
- service workerfunctions/push-notification.js
- serverless function (aws lambda etc)functions/push-subscription.js
- serverless function