Home

Awesome

hasura-node-monolith-example

This is a sample fullstack web application incorporating the following:

Check out my Production Deployment

Architecture Notes

Local development

Requires Node.js >= v14, yarn package manager v1, & docker ( Docker Desktop >= v3.2 for Windows & Mac, or Docker Engine >= v19.03 for Linux).

Copy contents of .env.example to .env and optionally fill in values (defaults should work).

yarn install

Start development db with yarn db (needs to be running for either of next two tasks)

Start app in dev mode with yarn dev, or start app in production mode with yarn start.

When the app is started in dev mode:

Production deployment

Use the Dockerfile in the project root and define the variables documented in .env.example.

With Heroku