https://github.com/dougajmcdonald/mercury
A web interface which posts a mock payload to a nifi workflow which in extracts an archive and sends it to elastic and neo4j where it can be searched and visualised
https://github.com/dougajmcdonald/mercury
elasticsearch express neo4j nifi react styled-components
Last synced: 4 months ago
JSON representation
A web interface which posts a mock payload to a nifi workflow which in extracts an archive and sends it to elastic and neo4j where it can be searched and visualised
- Host: GitHub
- URL: https://github.com/dougajmcdonald/mercury
- Owner: dougajmcdonald
- License: mit
- Created: 2018-05-14T15:40:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T13:31:50.000Z (over 7 years ago)
- Last Synced: 2025-03-21T22:45:14.833Z (7 months ago)
- Topics: elasticsearch, express, neo4j, nifi, react, styled-components
- Language: JavaScript
- Homepage:
- Size: 3.84 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mercury-demo
Contains:
- web-ui demo app (/client) written in React based on Create-React-App
- runs on port 3000
- node server (server.js) exposing simple endpoints to get tasks and post to Nifi## Running in dev
1. Clone the repo
`git clone https://github.com/dougajmcdonald/mercury.git`2. Install Pre-reqs:
- Node - Download from web
- nodemon - `npm i -g nodemon`
- concurrently - `npm i -g concurrently`
- yarn - `npm i -g yarn`3. Install Dependencies:
- Server - `npm i` from the root of the repo
- Client - `npm i` from the `/client` folderStart:
- `npm start` - will start the client and server. App will be accessible on :5000## Docker
The app is dockerised, to build the image form source (from the root of the app):
`docker build -t mercury .`
To run the image:
`docker run -p 80:5000 -d mercury`
This will run the container on port 80.
## Docker compose
All components (web, nifi, elastic & neo4j) are docker composed.
To run the lot:
`docker-compose up`
The web app will run on :80, nifi on :8080 elastic on :9200 and neo4j on 7474 or 7687 (I don't know which!)