Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Mongoose
Mongoose

763
580
+ 1
38
Neo4j
Neo4j

478
381
+ 1
276
Add tool

Mongoose vs Neo4j: What are the differences?

Mongoose: MongoDB object modeling designed to work in an asynchronous environment. Let's face it, writing MongoDB validation, casting and business logic boilerplate is a drag. That's why we wrote Mongoose. Mongoose provides a straight-forward, schema-based solution to modeling your application data and includes built-in type casting, validation, query building, business logic hooks and more, out of the box; Neo4j: The world’s leading Graph Database. Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions.

Mongoose and Neo4j are primarily classified as "Object Document Mapper (ODM)" and "Graph Databases" tools respectively.

"Well documented" is the primary reason why developers consider Mongoose over the competitors, whereas "Cypher – graph query language" was stated as the key factor in picking Neo4j.

Mongoose and Neo4j are both open source tools. It seems that Mongoose with 19K GitHub stars and 2.63K forks on GitHub has more adoption than Neo4j with 6.61K GitHub stars and 1.63K GitHub forks.

According to the StackShare community, Mongoose has a broader approval, being mentioned in 88 company stacks & 92 developers stacks; compared to Neo4j, which is listed in 114 company stacks and 47 developer stacks.

What is Mongoose?

Let's face it, writing MongoDB validation, casting and business logic boilerplate is a drag. That's why we wrote Mongoose. Mongoose provides a straight-forward, schema-based solution to modeling your application data and includes built-in type casting, validation, query building, business logic hooks and more, out of the box.

What is Neo4j?

Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Mongoose?
Why do developers choose Neo4j?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use Mongoose?
What companies use Neo4j?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Mongoose?
What tools integrate with Neo4j?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Mongoose and Neo4j?
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
Anaconda
A free and open-source distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment. Package versions are managed by the package management system conda.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Mongoid
The philosophy of Mongoid is to provide a familiar API to Ruby developers who have been using Active Record or Data Mapper, while leveraging the power of MongoDB's schemaless and performant document-based design, dynamic queries, and atomic modifier operations.
See all alternatives
Decisions about Mongoose and Neo4j
No stack decisions found
Interest over time
Reviews of Mongoose and Neo4j
Review ofMongooseMongoose

I inherited a stack where Mongoose is used in the database layer.

It's been several months and it's still the single highest source of daily WT*s in my backend development. The API is full of irregularities and the design is a poor mix of object-orientation and stateful objects with a lot implicit behavior. Mongoose made the choices of taking the worst parts of ORMs and using them in a context where the benefits of ORMs don't apply. The only reason I'm keeping it is its handy .populate() feature. Expect bad surprises!

Avatar of maxsumrall
Software Engineer at Picnic
Review ofNeo4jNeo4j

Neo4j is a great graph database, but it's also a great tool for any application in general. The data model is easy to figure out and is flexible to use as your application changes in the early stages. Further, there are constraints you can add to get data consistency once you have a firm data model. The built in admin tool makes it easy to review the data, see how your application is being used, and has a great query plan visualizer for when you want to optimize for performance.

How developers use Mongoose and Neo4j
Avatar of King's Digital Lab
King's Digital Lab uses Neo4jNeo4j

Graph database

To be evaluated

  • + Leading Graph DB provider, large community
  • + Rich querying language
  • + Tools to visualise and interact visually with results

Possible alternative to triple store.

Questions:

  • does it support full text search?
  • does it support some sort of inference or derived relationships (e.g. transitivity, symmetry)?

- does it support faceted search?

Avatar of AyeDeals
AyeDeals uses MongooseMongoose

We use mongoose and node-native for database querying.

Avatar of Christopher Davison
Christopher Davison uses Neo4jNeo4j

Used for the Knowledge and Social graph databases

Avatar of anthillsolutions
anthillsolutions uses MongooseMongoose

No-brainer for accessing Objects with NodeJS.

Avatar of Walter
Walter uses Neo4jNeo4j

Social graph; introductions.

Avatar of Nough You
Nough You uses Neo4jNeo4j

Studying relationships

Avatar of Minyoung Kim
Minyoung Kim uses Neo4jNeo4j

사용자 팔로잉 관계 데이터 저장

How much does Mongoose cost?
How much does Neo4j cost?
Pricing unavailable
Pricing unavailable