Basic example of running websockets on the Cloud Foundry environment with an NodeJS app
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
client.js
manifest.yml
package.json
server.js

README.md

Websockets on Clound Foundry in SAP Cloud Platform

Basic example of running websockets on the Cloud Foundry environment with an NodeJS app. Since the SSL-Termination caused problems, the example app provides a working approach on how to use websockets on Cloud Foundry.

How to run the example app

  1. Install the dependencies:
npm install
  1. Push the app to the cloudfoundry environment. Ensure that you are connected to an API Endpoint.
cf push
  1. Run the client on the local machine. Make sure you change the url to your app in the code!
node client.js