Sign inSign up

friedow/monitoring-backend

By friedow

•Updated over 7 years ago

Image
1

453

friedow/monitoring-backend repository overview

⁠Monitoring Backend

alt text

Backend service for the openHPI monitoring dashboard to process events from Kapacitor and power the frontend.

⁠Deployment

  1. Please follow the deployment instructions under https://github.com/openHPI/monitoring-analytics#deployment⁠.

⁠Development

  1. Make sure you have NodeJS⁠ and npm⁠ installed.
  2. Clone the repository
    git clone https://github.com/openHPI/monitoring-backend
    cd monitoring-backend
    
  3. Install the dependencies
    npm install
    
  4. Start the app
    npm start
    

⁠Building Docker Images manually

  1. Login to your docker account
    docker login
    
  2. Build the image
    docker build -t friedow/monitoring-backend:latest .
    
  3. Test the image
    docker run -p 3000:3000 friedow/monitoring-backend:latest
    
  4. Push the image
    docker push friedow/monitoring-backend:latest
    

⁠Testing

Simply run npm test and all your tests in the test/ directory will be run.

⁠License

Copyright (c) 2018

Licensed under the MIT license⁠.

Tag summary

Content type

Image

Digest

Size

38.2 MB

Last updated

over 7 years ago

docker pull friedow/monitoring-backend