Skip to content

kmturley/appengine-nest-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appengine-nest-angular

Example full-stack Typescript project using:

  • AppEngine Standard
  • NodeJS 10.x
  • NestJS 5.6.x
  • Angular 7.2.x
  • Docker 18.x

Installation

Install dependencies and build images using:

docker-compose build

Usage

Run the backend and frontend together using:

docker-compose up

View the Nest backend at:

http://localhost:8080/

View the Angular frontend at:

http://localhost:4200/

Automatic Deployment

Go to Google Cloud Build:

https://console.cloud.google.com/cloud-build/triggers

Click 'Add Trigger' and name it 'Backend'. Then set Cloud Build configuration file location:

/backend/cloudbuild.yaml

Click 'Add Trigger' and name it 'Frontend'. Then set Cloud Build configuration file location:

/frontend/cloudbuild.yaml

Manual Deployment

Deploy backend service:

cd backend
gcloud init
npm install
npm run build
npm run deploy

Deploy frontend service:

cd frontend
gcloud init
npm install
npm run build
npm run deploy

Directory structure

/backend                               --> Backend source files
/frontend                              --> Frontend sources files

Contact

For more information please contact kmturley

About

Example full-stack Typescript project using AppEngine, NestJS and Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published