prisma1 VS graphql-subscriptions

Compare prisma1 vs graphql-subscriptions and see what are their differences.

prisma1

💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) (by prisma)

graphql-subscriptions

:newspaper: A small module that implements GraphQL subscriptions for Node.js (by apollographql)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
prisma1 graphql-subscriptions
59 7
16,853 1,467
0.0% 1.0%
6.9 3.6
14 days ago 7 days ago
Scala TypeScript
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 2021-10-16.
  • Preferred SQL ORM
    6 projects | reddit.com/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 | reddit.com/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.
  • Starting out with a Typescript role, any killer library recommendations I should know about?
    7 projects | reddit.com/r/typescript | 19 Sep 2021
    For a different direction, there’s Prisma. A lot of people love it and they do a ton of developer outreach. I bet someone from the company that makes it will show up to comment now that their name has been mentioned. They released a schema migration tool sometime in the last six months that looks amazing and would probably convince me to give it a go if I was starting a new project. https://www.prisma.io/
  • Frameworks War
    5 projects | dev.to | 13 Sep 2021
    Express + Prisma
  • How to setup patreon API
    1 project | reddit.com/r/Discordjs | 12 Sep 2021
    From the ones I've named, I'd pick either TypeORM or Prisma. The getting started guides for these are straight forward and their documentation is a bit more on the friendlier side of things.
  • SE Internship Log[5]
    2 projects | dev.to | 7 Sep 2021
    One of the steps was seeding a database in a Prisma project. The Prisma CLI exposes a seed command, but at the time of writing this, it's a preview-feature and its implementation is being redesigned.
  • Trouble with the guide
    1 project | reddit.com/r/Discordjs | 4 Sep 2021
    I'd recommend you use version 6 of Sequelize - the guide already suggests to use 5+ as 4 has a security vulnerability. Alternatively I'd recommend you use Prisma instead!

graphql-subscriptions

Posts with mentions or reviews of graphql-subscriptions. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-04.
  • three ways to deploy a serverless graphQL API
    13 projects | dev.to | 4 Oct 2021
    graphql-yoga is built on other packages that provide functionality required for building a GraphQL server such as web server frameworks like express and apollo-server, GraphQL subscriptions with graphql-subscriptions and subscriptions-transport-ws, GraphQL engine & schema helpers including graphql.js and graphql-tools, and an interactive GraphQL IDE with graphql-playground.
  • Subscriptions and Live Queries - Real Time with GraphQL
    5 projects | dev.to | 29 Jul 2021
    The most common used (but not best maintained) library for such a PubSub engine in the GraphQL context is graphql-subscriptions. There are also adapters available for more distributed systems (where all GraphQL API replicas must be notified about the event) e.g. over Redis.
  • GraphQL over WebSockets
    9 projects | dev.to | 29 Jul 2021
    During that work, we created and merged the reference implementation into graphql-js and created two supporting libraries: graphql-subscriptions and subscriptions-transport-ws. Here is a talk with deep dive into all the details.
  • Using useSWR as an alternative to Subscriptions?
    8 projects | reddit.com/r/nextjs | 16 Jul 2021
    The Prisma / GraphQL-Yoga comes with Subscriptions, and this was the first thing I came across when my client asked for realtime updates. The implementation was quite difficult - took me a long time. Eventually, it was working locally, and in staging. However, when it came to the production environment, for some reason it just didn't work! This unfortunately ended up with a user losing an auction, which ultimately went to court etc.
  • GraphQL subscriptions not working consistently
    2 projects | reddit.com/r/graphql | 17 May 2021
    There are also other solutions available: https://github.com/apollographql/graphql-subscriptions#pubsub-implementations
  • Build a chat app with GraphQL Subscriptions & TypeScript: Part 2
    4 projects | dev.to | 28 Feb 2021
    First, let's try to understand what PubSub is exactly. Apollo Server uses a publish-subscribe (pub/sub) model to track events that update subscriptions. The graphql-subscriptions library included in all apollo-server packages (including middleware integrations) provides a PubSub class as a basic in-memory event bus.
  • GraphQL the Simple Way, or: Don't Use Apollo
    8 projects | dev.to | 2 Sep 2020
    To add this, I can just expand the basic setup above. To do so, I do actually use a couple of small Apollo modules! Most can be picked and configured independently. For this case, graphql-subscriptions provides a little bit of pubsub logic that works within resolvers, and subscriptions-transport-ws integrates that into Express to handle the websockets themselves. Super helpful

What are some alternatives?

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

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

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

graphql-helix - A highly evolved GraphQL HTTP Server 🧬

express-graphql - Create a GraphQL HTTP server with Express.

prisma-examples - 🚀 Ready-to-run Prisma example projects

gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

fastify-websocket - basic websocket support for fastify

subscriptions-transport-ws - :arrows_clockwise: A WebSocket client + server for GraphQL subscriptions

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.

database-viewer

apollo-tooling - ✏️ Tooling for development and production Apollo workflows

amplify-flutter - A declarative library with an easy-to-use interface for building Flutter applications on AWS.