-
Creates a Node.js server
-
WebSocketClient connects to the Abios WebSocket Push API.
-
WebSocketServer creates its own WebSocket Server, which send all the messages from the Abios to connected users.
-
Users from your site are connect to your WebSocketServer and receive all updates from Abios.
-
Install Docker v20.10+ Linux, Docker for Mac, Docker for Windows
-
For Linux additionally install Docker Compose v1.29+
- Clone the repository
- Set up your variables in the .env file
- Run docker container
docker-compose up -d --build
- To visit the "test client application", and receive all the messages from Abios, open
http://localhost:5000/
- Sign in with test user
username: userA
password: userA
├── .env.example
├── server.js
├── config.js
├── userCredentials.json
├── Dockerfile
├── docker-compose.yml
├── websocket
| └── webSocketClient.js
| └── webSocketServer.js
└── public
└── index.html
└── script.js
└── style.css