prisma1 VS graphql

Compare prisma1 vs graphql and see what are their differences.

prisma1

💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated] (by prisma)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
prisma1 graphql
64 21
16,816 5,340
- -
5.1 9.8
over 1 year ago 2 days ago
Scala Ruby
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.

prisma1

Posts with mentions or reviews of prisma1. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-17.
  • 🏆 Top Scala open source projects and contributors
    1 project | /r/scala | 20 Jun 2023
    I was surprised to see Prisma (a js library) listed, digging more I found out that they indeed had an Scala project which is now archived https://github.com/prisma/prisma1
  • Hyperstack - a new open source Node.js web framework with everything included
    6 projects | /r/node | 17 Nov 2022
    For more: https://github.com/prisma/prisma1/issues/3830
  • Show HN: WunderBase – Serverless OSS Database on Top of SQLite, Firecracker
    6 projects | news.ycombinator.com | 15 Sep 2022
    Hey there, I'm Nikolas from the Prisma team. Just came here to quickly clarify this notion:

    > Prisma is an API server that puts a GraphQL API in front of a DB.

    Prisma is an ORM which generates a JavaScript/TypeScript client library for your database.

    Your description is very true for Prisma 1 (which has been in maintenance mode for several years and is officially deprecated by now [1]), but the latest version(s) of Prisma (v2+) don't expose a GraphQL API any more. Prisma 1 also used GraphQL SDL for data modeling, the Prisma ORM on the other hand has its own, custom modeling language for describing database schemas in a declarative way and also comes with a flexible migration system.

    That being said (and as Jens also mentioned elsewhere), the Prisma ORM does use GraphQL _internally_ as a wire protocol. However, as a developer, you _never_ touch this internal GraphQL layer and are not even supposed to be aware of it (you actually have to jump through a lot of hoops to even "find" it). It's also very likely that we'll replace GraphQL as a wire protocol in the future, so "GraphQL" really isn't something you should be thinking about as a developer who is using Prisma.

    Hope that clarifies the situation a bit, let me know if you have any further questions around this topic.

    [1] https://github.com/prisma/prisma1/issues/5208

  • Why is Prisma so popular and who the hell is using it for production?
    8 projects | /r/node | 4 Aug 2022
    Could you clarify this? Are you referring to the old Prisma 1 Cloud or the new Prisma Data Platform?
  • Comparing 4 popular NestJS ORMs
    6 projects | dev.to | 22 Jun 2022
    First released in 2019, Prisma is the newest ORM of the four we discussed. It will need time to get to a more mature state. Recently, the release of version 3 introduced a few breaking changes. There are also some existing issues noted in GitHub, such as that it does not support some Postgres column types.
  • Preferred SQL ORM
    6 projects | /r/node | 16 Oct 2021
    Mongoose is quite a standard also open-source, but Prisma is an emerging modern solution that seems to take the cake.
  • What is Blitz.js & How to Get Started With It
    4 projects | dev.to | 14 Oct 2021
    Well, here comes Blitz, the agnostic monolith. Take the database, for example - Blitz comes out-of-the-box with Prisma 2. However, you're free to switch to another one like Fauna or DynamoDB. The same goes for the configuration; deciding a folder structure, defining routing conventions, selecting a styling library, and adding authorization and authentication are all set up by default, but that doesn't mean you cannot go your own way.
  • Rakkas: Next.js alternative powered by Vite
    13 projects | dev.to | 14 Oct 2021
    There is also a RealWorld port (Rakkas implementation of the RealWorld specification), a simple but complete fullstack application demonstrating how to approach building a REST API, accessing your database (via Prisma), handling authentication, testing, and more.
  • GraphQL & REST with Prisma and Azure SQL: love at first sight!
    1 project | dev.to | 11 Oct 2021
    If you're into Typescript and prefer a code-first approach when working with databases, you'll be happy to learn about Prisma! Prisma is a next-generation Node.js and TypeScript ORM, that allows you to define a schema using a dedicated DSL so that you can then have all the comforts of modern development environments like intellisense, static type checking, automatic scaffolding and more.
  • Is NextJS a server side framework?
    1 project | /r/nextjs | 29 Sep 2021
    It is a frontend framework, but with API routes and ORMs like https://www.prisma.io/ , you could use it as a complete stack in traditional sense I suppose.

graphql

Posts with mentions or reviews of graphql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-05.
  • Rails 7.1 Released
    8 projects | news.ycombinator.com | 5 Oct 2023
    My memory is fuzzy, but...

    1. all data flow through the rails app (no pre-signed s3 upload or download links for direct uploading).

    2. no support for CDNs (I think newer rails versions added support)

    3. blobs and attachments were unnecessary abstractions.

    3a. Querying was annoying and easy to add n+1 queries.

    3b. Images are moderated and it was unclear where to put the moderation metadata (on blobs? attachments? create a new table? why so many tables?). Accessing the data was annoying (you need extra joins).

    4. GraphQL gem didn't support it: https://github.com/rmosolgo/graphql-ruby/issues/1777

  • The GraphQL N+1 Problem and SQL Window Functions
    3 projects | dev.to | 7 Oct 2022
    In our Rails application, we use the popular graphql Ruby gem to resolve GraphQL queries. When used naively, it essentially resolves queries as a depth-first tree traversal, which leads to the N+1 problem in GraphQL.
  • Rookie question regarding Active Record and creating an empty array as a class variable
    1 project | /r/ruby | 9 Aug 2022
    If you're comfortable on the react/client side with graphql, I'd highly recommend plugging in https://graphql-ruby.org/
  • Gerenciando Múltiplos Schemas de GraphQL com Ruby on Rails
    2 projects | dev.to | 22 May 2022
  • What Would be Your Ideal Ruby Tech Stack
    3 projects | /r/ruby | 4 May 2022
    We use GraphQL, and Ruby GraphQL doesn't allow you to stream the result, it buffers it before sending back the request and there are no alternative. See my issue https://github.com/rmosolgo/graphql-ruby/issues/3969 -- Sadly there is only one library for GraphQL in Ruby.
  • A very simple GraphQL tutorial in Ruby
    2 projects | dev.to | 3 Mar 2022
    graphql-ruby is a Ruby gem that implements the GraphQL specification and functionalities.
  • GraphQL APIs in Rails
    3 projects | dev.to | 18 Feb 2022
    The next step is to add the GraphQL gem to our Gemfile; you can visit its page, graphql-ruby, for more details; now, open your Gemfile and add this line:
  • Anyone here turned their rails app into an API?
    3 projects | /r/rails | 12 Feb 2022
    If you do go the API route though, strongly consider using GraphQL with the (graphql-ruby)[https://graphql-ruby.org/] gem.
  • How to work with an external front-end developer?
    1 project | /r/rails | 17 Nov 2021
    GraphQL saves you time designing versioned REST endpoints. It self documents. Documentation isn't optional for serious web development so this is a huge win. The rails gems have gotten really good at picking up associations as well since I looked into a couple years ago. https://graphql-ruby.org
  • GraphQL The Rails Way: Part 1 - Exposing your resources for querying
    2 projects | dev.to | 4 Nov 2021
    When it comes to implementing a GraphQL server in Rails, one can use the excellent GraphQL Ruby gem.

What are some alternatives?

When comparing prisma1 and graphql you can also consider the following projects:

sveltekit-prisma - A sample repository to show how SvelteKit and Prisma work together.

ActiveModel::Serializers - ActiveModel::Serializer implementation and Rails hooks

inertia-laravel - The Laravel adapter for Inertia.js.

Grape - An opinionated framework for creating REST-like APIs in Ruby.

Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.

Fast JSON API - No Longer Maintained - A lightning fast JSON:API serializer for Ruby Objects.

graphql-helix - A highly evolved GraphQL HTTP Server 🧬

jbuilder - Jbuilder: generate JSON objects with a Builder-style DSL

nestjs-typegoose - Typegoose with NestJS

json-serializer - Customize JSON ouput through serializer objects

apollo-server - 🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.

rabl - General ruby templating with json, bson, xml, plist and msgpack support