I define multiple templates into branches. You can checkout template that fit your use case:
For backend templates, go here: https://github.com/hgiasac/hasura-typescript-boilerplate
Copy dotenv
to .env
and edit your environemnt variables
npm run dev
# build source
# This is used for test/staging build, so we don't optimize it
sh ./scripts/build.sh
# build production locally
sh ./scripts/build.sh prod
# build on CI env
sh ./scripts/build.sh ci
# build on CI env
sh ./scripts/build.sh ci-prod