frisokaiyu / comp5338-polygot-persistence-systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

comp5338-polygot-persistence-systems

To check out this repo

git clone https://github.com/MingxuanLi/comp5338-polygot-persistence-systems.git

first you need to install node.js 7.8.x above and npm 5.0 above here

This project is running on top node.js so this step is mandatory cannot be skipped

https://nodejs.org/en/download/current/
https://docs.npmjs.com/getting-started/installing-node
https://medium.com/@katopz/how-to-install-specific-nodejs-version-c6e1cec8aa11

To install all the required dependencies

npm install

To load the data into mongodb or neo4j

We are connnecting to localhost for mongodb and neo4j, there is no user/pass for my local mongodb so you can find the url inside src/mongo-helper.js and I set neo4j/Password123 as the neo4j login, you can find it under src/neo4j-helper.js

npm run generate
npm run load -- --db={mongodb|neo4j}

To run the query

npm run query -- --db={mongodb|neo4j} --query={sq1|sq2|aq1|aq2|aq3|aq4|aq5_1|aq5_2|aq6}

Document

Document is under docs/ directory

Dataset

Dataset is under dataset/ directory

Report

The report is under root directory

About

License:MIT License


Languages

Language:JavaScript 100.0%