In Part I of this series, we showed how to start from the node-express-boilerplate app for real-time messaging and integration with third parties and move towards building an Activity Streams Application via Cloud Foundry. The previous app only sent simple text messages between client and server, but an Activity Streams Application processes, aggregates and renders multiple types of activities. For this new version of the application, my requirements were to show the following:
User interactions with the app running on CloudFoundry.com
Custom activities created by users on the app’s landing page
User activities from GitHub such as creating repositories or posting commits
For this reason, I decided to use Activity Strea.