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

Mongoose

1.8K
1.3K
+ 1
56
Prisma

752
813
+ 1
52
Add tool
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Mongoose
Pros of Prisma
  • 17
    Several bad ideas mixed together
  • 17
    Well documented
  • 10
    JSON
  • 8
    Actually terrible documentation
  • 2
    Recommended and used by Valve. See steamworks docs
  • 1
    Can be used with passportjs for oauth
  • 1
    Yeah
  • 11
    Type-safe database access
  • 10
    Open Source
  • 8
    Auto-generated query builder
  • 6
    Supports multible database systems
  • 6
    Increases confidence during development
  • 4
    Productive application development
  • 4
    Built specifically for Postgres and TypeScript
  • 2
    Supports multible RDBMSs
  • 1
    Robust migrations system

Sign up to add or upvote prosMake informed product decisions

Cons of Mongoose
Cons of Prisma
  • 3
    Model middleware/hooks are not user friendly
  • 2
    Doesn't support downward/back migrations
  • 1
    Doesn't support JSONB
  • 1
    Do not support JSONB
  • 1
    Mutation of JSON is really confusing
  • 1
    Do not support JSONB
  • 0
    Jjj

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

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 Prisma?

Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.

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

What companies use Mongoose?
What companies use Prisma?
See which teams inside your own company are using Mongoose or Prisma.
Sign up for StackShare EnterpriseLearn More

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

What tools integrate with Mongoose?
What tools integrate with Prisma?

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

Blog Posts

JavaScriptGitHubNode.js+29
14
12763
Jun 19 2015 at 6:37AM

ReadMe.io

JavaScriptGitHubNode.js+25
12
2132
What are some alternatives to Mongoose and Prisma?
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