Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

The simple goal for this microservice is to offer a stateless generic capability, that gets the latest JSON report from a CouchDB instance and returns it in HTML for the browser.

License

Notifications You must be signed in to change notification settings

IBM/smarteradvocacy-display-report

Repository files navigation

Smarter Advocacy

This cloud-native express/node.js microservice, is part of a set which comprise a 'Smarter Advocacy' capability. More details about this will follow soon.

The microservice in this repo

The simple goal for this microservice is to offer a stateless generic capability, that gets the latest JSON report from a CouchDB instance and returns it in HTML for the browser.

Example OUTPUT:
In this twitter case,

  • On the left; follower, tweet and like total and delta metrics are display ever, monthly and daily.
  • On the right; every tweet made, with text, publiushed date, retweet and like counts are displayed.

examle twitter JSON output

For you to build and deploy:

  • see separate BLOG, for how to develop changes to this cloud-native express/node.js microservice in 4 simple steps.
  • see separate BLOG, for how to deploy the latest microservice into production (an OpenShift Kubernetes cluster).

Only within IBM, this microservice is already deployed:

Overview of workflow:
overview picture

Supported reports:

  1. Twitter user/tweet.
  2. YouTube Channel videos

Notes:

  1. support for many more channels was planned, but yet to be implemented.
  2. currently, the microservice is hardcoded to pull the resultant JSON document to a hardcorded COUCHDB instance (but we should probably split the microservice into two parts, to separate latest report retrieval and display.

...

Codewind logo

This microservice was created and iteratively developed using Codewind.
Codewind is an open source plugin for Eclispe and VS Code IDEs, that simplifies and enhances development in containers by extending industry standard IDEs with features to write, debug, and deploy cloud-native applications.

About

The simple goal for this microservice is to offer a stateless generic capability, that gets the latest JSON report from a CouchDB instance and returns it in HTML for the browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages