Skip to content

darioielardi/nest-cloud-run

Repository files navigation

NestJS Cloud Run Starter

NestJS starter with docker setup ( Dockerfile & .dockerignore ) for automated deploy on Google Cloud Run with Cloud Build on git push.

Running locally

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run prestart:prod
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Deploy

Configure the Google Cloud SDK, build and push the first image version to Google Container Registry either locally with docker or with Cloud Build, then deploy the first revision to Cloud Run. Every subsequential build can be automated on new push on a given branch, the cloudbuild.yaml file is already in place but the other setup steps need to be done manually.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published