Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imrajdas/cluster-connect
https://github.com/imrajdas/cluster-connect
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/imrajdas/cluster-connect
- Owner: imrajdas
- Created: 2020-06-18T13:04:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T07:40:47.000Z (over 4 years ago)
- Last Synced: 2024-10-11T12:50:42.137Z (2 months ago)
- Language: JavaScript
- Size: 6.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cluster Connect POC
## Setup
### Setup GQL Server
```bash
cd GQLServer
docker-compose up
```### Setup Dummy UI
```bash
cd DummyUI
npm i
GQL_SERVER=npm start
```### Setup Subscriber
1. Setup Master GQL-Client
```bash
cd Subscriber/master
npm i
GQL_SERVER=localhost:8080/graphql npm start
```2. Setup Go Agent
```bash
cd Subscriber/agent
go run main.go
```As soon as the agent is started automated messages should pop up in the UI, after the the automated commands are completed(20secs) try sending JSON data through the UI (package.lock would be a good example). Once the JSON is sent it should appear in the `Go Agent` terminal it is in JSON.stringify() format but if you look in the `Node Master` terminal you should see a `VALID JSON DATA` msg with the json being printed. This can be tested with an invalid JSON too and it shouldn't show up in the `Node Master` terminal