Prisma VS Next.js

Compare Prisma vs Next.js and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
Prisma Next.js
444 2,044
37,241 120,572
2.3% 1.6%
9.9 10.0
3 days ago 4 days ago
TypeScript JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Prisma

Posts with mentions or reviews of Prisma. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Stories Behind ZenStack V2!
    3 projects | dev.to | 29 Apr 2024
    Support for a Union type #2505
  • Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda
    4 projects | dev.to | 15 Apr 2024
    generator client { provider = "prisma-client-js" binaryTargets = ["native", "rhel-openssl-1.0.x"] } datasource db { provider = "postgresql" // NOTE: When using mysql or sqlserver, uncomment the @db.Text annotations in model Account below // Further reading: // https://next-auth.js.org/adapters/prisma#create-the-prisma-schema // https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#string url = env("DATABASE_URL") } model Post { id Int @id @default(autoincrement()) name String createdAt DateTime @default(now()) updatedAt DateTime @updatedAt createdBy User @relation(fields: [createdById], references: [id]) createdById String @@index([name]) } // ... rest of the schema
  • End-To-End Polymorphism: From Database to UI, Achieving SOLID Design
    2 projects | dev.to | 28 Mar 2024
    Unfortunately Prisma hasn’t supported polymorphism yet. As such, you can't use inheritance to model the entity in the same way as in your programming language, as depicted in the above class diagram. The good news is that we could intimate it using table inheritance to imitate it.
  • Next.js App Router Course
    1 project | dev.to | 28 Mar 2024
    In this project I am manually declaring the data types. For better type-safety, use Prisma, which automatically generates types based on your database schema.
  • Next.js 14: Fetching Data
    1 project | dev.to | 22 Mar 2024
    When you're creating a full-stack application, you'll also need to write logic to interact with your database. For relational databases like Postgres, you can do this with SQL, or an ORM like Prisma.
  • Utilizando Testcontainers para Testes de Integração com NestJS e Prisma ORM
    4 projects | dev.to | 16 Mar 2024
  • Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack
    5 projects | dev.to | 11 Mar 2024
    Prisma is a modern TypeScript-first ORM that allows you to manage database schemas easily, make queries and mutations with great flexibility, and ensure excellent type safety.
  • How to add Passkey Login to Next.js using NextAuth and Hanko
    5 projects | dev.to | 4 Mar 2024
    Prisma
  • Taming cross-service database transactions in NestJS with AsyncLocalStorage
    2 projects | dev.to | 21 Feb 2024
    There have been multiple feature requests to add native support for AsyncLocalStorage to Prisma, but they haven't been met with much enthusiasm from the maintainers. Some people solved it by extending and overriding the client (which is arguably prone to breaking with updates).
  • What Are the Chances of You Creating a Programming Language
    1 project | dev.to | 7 Feb 2024
    The DSL experience comes naturally to us as we have witnessed how well-designed language can greatly simplify programming tasks. We know it is challenging but not as difficult as many may feel. Therefore, we chose the schema-first design to create ZenStack toolkit on top of Prisma ORM that leverages code generation to significantly reduce the code developers need to write and make them move a lot faster.

Next.js

Posts with mentions or reviews of Next.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Vite vs Nextjs: Which one is right for you?
    3 projects | dev.to | 29 Apr 2024
    Vite and Next.js are both top 5 modern development framework right now. They are both great depending on your use case so we’ll discuss 4 areas: Architecture, main features, developer experience and production readiness. After learning about these we’ll have a better idea of which one is best for your project.
  • A brief history of web development. And why your framework doesn't matter
    4 projects | news.ycombinator.com | 29 Apr 2024
    > It’s important to be aware of what you are getting if you go with React, and what you are getting is a far cry from what a framework would offer, with all the corresponding pros and cons.

    Would you like to elaborate on that?

    In my experience, with something as great, size/ecosystem-wise as React, there will almost always be at least one "mainstream" package for whatever you might want to do with it, that integrates pretty well. Where a lot of things might come out of the box with a framework, with a library I often find myself just needing to install the "right" package, and from there it's pretty much the same.

    For example, using https://angular.io/guide/i18n-overview or installing and using https://react.i18next.com/

    Or something like https://angular.io/guide/form-validation out of the box, vs installing and using https://formik.org/

    Or perhaps https://angular.io/guide/router vs https://reactrouter.com/en/main

    Even adding something that's not there out of the box is pretty much the same, like https://primeng.org/ or https://primereact.org/

    React will typically have more fragmentation and therefore also choice, but I don't see those two experiences as that different. Updates and version management/supply chain will inevitably be more of a mess with the library, admittedly.

    Now, projects like Next https://nextjs.org/ exist and add what some might regard as the missing pieces and work well if you want something opinionated and with lots of features out of the box, but a lot of those features (like SSR) are actually pretty advanced and not always even necessary.

  • System & Database Design (Day 1) - Creating a SaaS Startup in 30 Days
    2 projects | dev.to | 26 Apr 2024
    Next.js: For the website and the admin dashboard
  • Runtime environmental variables in Next.js 14
    2 projects | dev.to | 25 Apr 2024
    Until the time of writing, there is no official example of how to enable runtime environmental variables in a Dockerized Next.js app, as utilizing unstable_noStore would only dynamically evaluate variables on the server (node.js runtime). There is also an interesting discussion regarding this topic on GitHub.
  • @matstack/remix-adonisjs VS Next.js - a user suggested alternative
    2 projects | 24 Apr 2024
    next.js is a very popular React framework. remix-adonisjs includes more functionality through the AdonisJS backend ecosystem, and should be easier to self-host and self-manage.
  • Meet Cheryl Murphy: Full-Stack Developer, lifelong learner, and volunteer Project Team Lead at Web Dev Path
    2 projects | dev.to | 22 Apr 2024
    Cheryl Murphy is not only a dedicated full-stack web developer skilled in technologies like React, Next.js, and NestJs but also a community-driven professional who recently took on the role of volunteer project team lead at Web Dev Path. With a dual Bachelor's degree in Computing and Chemical Engineering from Monash University, Cheryl’s journey in tech is marked by a passion for building accessible solutions and a commitment to fostering community within tech.
  • Ensuring Type Safety in Next.js Routing
    3 projects | dev.to | 20 Apr 2024
    For more information, check out this issue.
  • Styling Your Site with Next.js and MUI: Creating a Dynamic Theme Switcher
    2 projects | dev.to | 18 Apr 2024
    Remember to start the Next.js server with pnpm dev.
  • Mastering Next.js 13/14 - Advanced Techniques
    1 project | dev.to | 18 Apr 2024
  • 3 Exciting Improvements Between NextJS 14 And NextJS 13
    1 project | dev.to | 18 Apr 2024

What are some alternatives?

When comparing Prisma and Next.js you can also consider the following projects:

Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

vite - Next generation frontend tooling. It's fast!

Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

Express - Fast, unopinionated, minimalist web framework for node.

TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

SvelteKit - web development, streamlined

Mongoose - MongoDB object modeling designed to work in an asynchronous environment.

MERN - ⛔️ DEPRECATED - Boilerplate for getting started with MERN stack

MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.

Angular - Deliver web apps with confidence 🚀

lucid - AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more

fastify - Fast and low overhead web framework, for Node.js