Skip to content

Commit c85ea60

Browse files
committed
updated README.md and removed unwanted endpoints in proxy-server.js
1 parent 8173f59 commit c85ea60

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This project is to visualize the graph network corresponding to a gremlin query.
44
![alt text](https://raw.githubusercontent.com/prabushitha/Readme-Materials/master/Gremlin-Visualizer.png)
55

66
### Setting Up Gremlin Visualizer
7+
To setup gremlin visualizer, you need to have `node.js` and `npm` installed in your system.
8+
79
* Clone the project
810
```sh
911
git clone https://github.com/prabushitha/gremlin-visualizer.git
@@ -30,7 +32,7 @@ Note - Frontend starts on port 3000 and simple Node.js server also starts on por
3032
* Write an gremlin query to retrieve a set of nodes (eg. `g.V()`)
3133

3234
### Features
33-
* If you doesn't clear the graph and execute another gremlin query, results of previous query and new query will be merged and be shown.
35+
* If you don't clear the graph and execute another gremlin query, results of previous query and new query will be merged and be shown.
3436
* Node and edge properties are shown once you click on a node/edge
3537
* Change the labels of nodes to any property
3638
* View the set of queries executed to generate the graph

proxy-server.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ app.use(cors({
1212
// parse application/json
1313
app.use(bodyParser.json());
1414

15-
app.get('/', (req, res) => {
16-
17-
res.send('Hello World!');
18-
});
19-
20-
21-
2215
function mapToObj(inputMap) {
2316
let obj = {};
2417

@@ -71,4 +64,4 @@ app.post('/query', (req, res, next) => {
7164

7265
});
7366

74-
app.listen(port, () => console.log(`Example app listening on port ${port}!`));
67+
app.listen(port, () => console.log(`Simple gremlin-proxy server listening on port ${port}!`));

0 commit comments

Comments
 (0)