Skip to content

Tutorial on how to implement the moneo plugin / middleware for Mongoose to Neo4j.

License

Notifications You must be signed in to change notification settings

akarsh/test-for-moneo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT Licence

test-for-moneo

This project demonstrates on how you can implement the moneo plugin / middleware for Mongoose to Neo4j.

The project file structure

  • 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 - mongoose connection

  • connection/moneofile.js - moneo connection and sample data for two mongoose data models i.e. user and notice

  • 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 - 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 then

npm install -save
Note
Keep mongodb and neo4j started before running !

Run

nodemon 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.

About

Tutorial on how to implement the moneo plugin / middleware for Mongoose to Neo4j.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published