I added PG to MVT as a service (in a much better/faster way) to this project.
PostGIS to Mapbox vector tiles (pbf) using the vt-pbf and geojson-vt libraries.
Credit to Frank Rowe for the original idea.
To get going:
npm install
Rename config.js.txt
to config.js
and edit the layers and Postgres connection info.
node .