This project uses Vue.js as a web frontend, PostGraphile as a GraphQL server, and PostgreSQL as a database.
I used this project to learn more about GraphQL and attempt to setup a project structure that would allow rapid development by not having to make many changes in the server to support changes in the data schema.
Notes:
--host
option to target a remote Docker host./provision.sh
which simply sets sshd config and installs Docker.env
and .env.production
./run
is a jBash script that handles all development tooling and production deployment commands./run && open http://localhost:8080
GraphiQL:
open http://localhost:8081/graphiql
Create new migration:
./run db:migration migrationName
Migrate:
./run db:up
.env.production
file with config for production. See .env.production.example
as a template.HOST_NAME
variable to contain the Droplet IP address. ./run provision --prod
./run deploy --prod