Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akarsh/test-for-moneo
Tutorial on how to implement the moneo plugin / middleware for Mongoose to Neo4j.
https://github.com/akarsh/test-for-moneo
moneo mongoose neo4j node
Last synced: 13 days ago
JSON representation
Tutorial on how to implement the moneo plugin / middleware for Mongoose to Neo4j.
- Host: GitHub
- URL: https://github.com/akarsh/test-for-moneo
- Owner: akarsh
- License: mit
- Created: 2017-07-01T22:23:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T21:54:55.000Z (8 months ago)
- Last Synced: 2024-04-14T12:47:59.866Z (7 months ago)
- Topics: moneo, mongoose, neo4j, node
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)
# test-for-moneo
This project demonstrates on how you can implement the [moneo plugin / middleware](https://github.com/srfrnk/moneo/) for Mongoose to Neo4j.The project file structure
* [`bin/www`](bin/www) - variable declarations for the connections to mongoose and moneo [Note: oneo connection is same as neo4j. We use the localhost with post number `7474`] . Also, the port number `3000` is used in the project to know; if the server is working or not.* [`connection/mongofile.js`](connection/mongofile.js) - mongoose connection
* [`connection/moneofile.js`](connection/moneofile.js) - moneo connection and sample data for two mongoose data models i.e. user and notice
* [`model/userModel.js`](model/userModel.js) - Mongoose schema and data model for user sample data. Also, cypherQuery i.e. query to fetch data from neo4j graph database
* [`model/noticeModel.js`](model/noticeModel.js) - Mongoose schema and data model for notice sample data. Also, cypherQuery i.e. query to fetch data from neo4j graph database
## Installation
cd into folder `test-for-neo` thennpm install -save
##### Note
Keep mongodb and neo4j started before running !
## Runnodemon bin/www
### Credits
This application uses Open Source components. You can find the source code of their open source projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.
* Project: [node-mongodb-neo4j](https://github.com/akarsh/node-mongodb-neo4j)Author: [Nicolas Ibanheiz](https://github.com/Ibanheiz)
License: [ISC](https://github.com/akarsh/node-mongodb-neo4j)
* Project: [moneo](https://github.com/srfrnk/moneo)
Author: [Shahar Frank](https://github.com/srfrnk)
License: [MIT](https://github.com/srfrnk/moneo/blob/master/LICENSE.txt)