What are your thoughts on Next/Apollo/Prisma stack? Should I use it for my project (see details in the description)? Can you share some advice?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/webdev

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • GitHub repo graphql-upload

    Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.

    For file-uploads there is https://github.com/jaydenseric/graphql-upload. Usually at scale you would use a service such as S3 for storing the files. IMHO, proxying the files through the GraphQL server is a big performance penalty. Therefore I would rather recommen uploading to the file storage directly from the client, e.g. by issuing a pre-singed upload url that can be requested via a GraphQL mutation.

  • GitHub repo graphql-helix

    A highly evolved GraphQL HTTP Server 🧬

    Instead of apollo-server I would highly recommend using graphql-helix https://github.com/contrawork/graphql-helix and/or graphql-ws https://github.com/enisdenjo/graphql-ws

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo graphql-ws

    Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.

    Instead of apollo-server I would highly recommend using graphql-helix https://github.com/contrawork/graphql-helix and/or graphql-ws https://github.com/enisdenjo/graphql-ws

  • GitHub repo better-sqlite3

    The fastest and simplest library for SQLite3 in Node.js.

    PostgreSQL is my goto database for everything that needs multiple clients connected, for everything else I use SQLite via https://github.com/JoshuaWise/better-sqlite3

  • GitHub repo gqtx

    Code-first type-safe GraphQL Server without codegen or metaprogramming

    You will also have to figure out which schema generation flow suits you best. E.g. you can use the programatic API from graphql-js, makeExecutableSchema from graphql-tools https://www.graphql-tools.com/docs/generate-schema/ or code schema builders like https://github.com/sikanhe/gqtx or https://github.com/hayes/giraphql

  • GitHub repo giraphql

    GiraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach

    You will also have to figure out which schema generation flow suits you best. E.g. you can use the programatic API from graphql-js, makeExecutableSchema from graphql-tools https://www.graphql-tools.com/docs/generate-schema/ or code schema builders like https://github.com/sikanhe/gqtx or https://github.com/hayes/giraphql

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts