This repo is an example of using gatsby-source-pg to pull in data from PostgreSQL into Gatsby.
To start, clone this repository down, make sure you're running a local PostgreSQL database server (and have admin privileges), then:
yarn
./db/reset.sh
yarn develop
We create (or reset) the gatsby_example
Postgres DB for you, and seed it with some simple data.