Web starter project powered by React, Node.js, GraphQL. Webpack2 config for both client and server, Docker for deployment, Postgres backed persistence.
- Docker, Docker Compose
- Node v6
- Yarn
Install dependencies and bring up hot-reloading environment for quick development
yarn
npm run dev
Build the expected Docker container, bring it up using compose, and run bootstrap scripts for migrations
cd postgres
./build.sh
cd ..
docker-compose up -d
(wait for pg to boot)
./bootstrap.sh
Helper Scripts
script | effect |
---|---|
dev | Build both server and client, HMR activates on client side and Nodemon restarts server on change |
build:prod | Build production assets |
|