Semyonic / commerce-cart-app

Basic shopping cart challenge for Migros

Home Page:https://semyonic.github.io/commerce-cart-app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

commerce-cart-app

Build Status Docker Cloud Build Status

Development

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/commerce-app/ directory. Use the --prod flag for a production build.

Available Commands
  • ng build:dev
  • ng build:test
  • ng build:prod

Running unit tests

Run ng test to execute the unit tests via Karma + Puppeteer.

Available Commands
  • yarn test-headless to test in a Docker & CI environments

Docker Environments

To provide deployment stage provide environment as : --build-arg env=dev

Available Environments

  • dev
  • test
  • prod

Building From Dockerfile

docker build --build-arg env=dev -t semyonic/commerce-cart-app .

Running Image With Environments

  • docker-compose up dev.web
  • docker-compose up test.web
  • docker-compose up prod.web

About

Basic shopping cart challenge for Migros

https://semyonic.github.io/commerce-cart-app/


Languages

Language:TypeScript 86.5%Language:JavaScript 10.4%Language:Dockerfile 1.6%Language:HTML 0.8%Language:CSS 0.4%Language:Shell 0.3%