Skip to content

TUB-CNPE-TB/front-end

 
 

Repository files navigation

Build Status Actions Status

Front-end app

Front-end application written in Node.js that puts together all of the microservices under microservices-demo.

Quick docker

  1. Build node project npm isntall
  2. Build docker image docker build -t jmgoyesc/front-end .
  3. Publish docker image to docker hub docker push jmgoyesc/dsp-front-end

Build

Dependencies

Name Version
Docker >= 1.12
Docker Compose >= 1.8.0
Make (optional) >= 4.1

Node

npm install

Docker

make test-image

Docker Compose

make up

Test

Make sure that the microservices are up & running

Unit & Functional tests:

make test

End-to-End tests:

To make sure that the test suite is running against the latest (local) version with your changes, you need to manually build the image, run the container and attach it to the proper Docker networks. There is a make task that will do all this for you:

make dev

That will also tail the logs of the container to make debugging easy. Then you can run the tests with:

make e2e

Run

Node

npm start

Docker

make server

Use

Node

curl http://localhost:8081

Docker Compose

curl http://localhost:8080

Push

GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh

About

Front-end application for ALL the microservices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 58.7%
  • JavaScript 32.7%
  • CSS 7.8%
  • Other 0.8%