CliffCrerar / bohemian-rhapsody

A full stack demo app
https://music-app-prod-aspwmb5sba-uc.a.run.app
MIT License
1 stars 0 forks source link

Bo Raps Image StackShare Pull Into Stage Stage Test

A full stack demo application

Runs with fully automated CI/CD pipeline 'git push -> stage -> test-build -> run-test -> prod-build -> release'.

Full MEAN stack application embeded in google cloud platform.

Deployed from github.

Prerequisites

  1. Nodejs
  2. GIT
  3. NPM

For deployment to Googl Cloud run.

  1. Docker desktop
  2. gcloud SDK

Resources

Application stack

MEAN Stack

API

Devops pipe

npm scripts

npm run <script>

Script Description
dev:app Start the Angular development server on port 4200
build Build the Angular application
lint Lint the whole application
e2e Run application end to end
start* Start the express server that serves a built application
dev:server Start the express server in dev mode with nodemon
test:server (Not implemented) Start serverside tests
test:headless Run tests in headless browser without watch mode
test:dev run testing during development in watch mode
gcloud:build Build container and submit to gcloud container registry
gcloud:deploy Build container and submit to gcloud container registry
gcloud:test-container Build container and submit to gcloud container registry
gcloud:prod-container Build container and submit to gcloud container registry
gcloud:deploy Deploy the submitted container to cloud run
local Build container locally
test* Run the end to end script

Tech Stack

by Stack Share