TypeGraphQL Alternatives
Similar projects and alternatives to TypeGraphQL
-
graphql-code-generator
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
-
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) 🚀
-
-
graphql-shield
🛡 A GraphQL tool to ease the creation of permission layer.
-
-
-
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.
-
graphql-spec
GraphQL is a query language and execution engine tied to any backend service.
-
-
-
TypeORM
ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
-
-
-
-
-
-
-
Prisma
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB (Preview)
-
-
react-relay
Relay is a JavaScript framework for building data-driven React applications.
TypeGraphQL reviews and mentions
-
Does Apollo GraphQL cost money to use in production? And other beginner questions about GraphQL
Some alternatives to Pothos are https://nexusjs.org/ https://typegraphql.com/
-
What is the best/easiest way to share your schema between server and client?
As of right now, I've arrived at the following: I'll use type-graphql in the server package to define the schema and resolvers using types and decorators (type-graphql is really attractive to me because of the dependency injection). type-graphql can then easily pass the schema to express + apollo server, and everything is automatically typed in vscode
-
Intro to GraphQL with Node.js & TypeScript
In this post, I’ll help you get a solid understanding of working with GraphQL in Node.js and TypeScript using a library called TypeGraphQL. TypeGraphQL is an awesome way to create your GraphQL resolvers and it has seamless integration capabilities with ORMs like TypeORM (we’ll be using it in this post!) and mikro-orm. It uses classes and decorators to beautifully generate our schemas using very less code.
-
How (Not) To Build Your Own GraphQL Server
Instead of constructing an object, it uses classes to define the types and operations for the schema that it generates. The schema generated by this implementation will have the same structure as the schema created with graphql-js. Using classes to define your schema has the advantage of being less mutable and more structured when writing code. Similar implementations can be found for TypeScript with the library TypeGraphQL or Sangria GraphQL for Scala.
-
SDL or Code First Approach for a team that has just started adopting GraphQL?
I use NestJS and just create classes with decorators, just like in their docs. No Prisma needed. The NestJS decorators are pretty much just a wrapper around the TypeGraphQL library (which you don't need NestJS for).
-
SDL or Code First Approach for a team that has just started adopting GQL?
In my last project we were using code first with https://typegraphql.com/ and it was quite good.
-
Solving the double (quintuple) declaration Problem in GraphQL Applications
Same. I paired that with https://typegraphql.com/ (which builds the graphql schema dynamically from the code using buildSchemaSync) and MikroORM (which you can overlap your entities with to remove duplication there) and it was a totally generated solution with full type safety.
A bit crazy complex to setup so many moving pieces, but once it is, it works great.
-
GraphQL - Diving Deep
Or do you want to directly code the schema in Typescript and maintain strict types? Try Typegraphql
-
Typescript Backend Tutorial
TypeGraphQL : it's a code first, class style way of writing models and resolvers.
-
Schema-first or Code-first in GraphQL
But I think one is not better than the other. Nowadays there are several libraries that help you in the development of GraphQL Apis to give you a better experience. If you are working with TypeScript, I would recommend TypeGraphQL, it is a complete library that can help you with some difficulties you may have.
-
Why reflect-metadata suc*s
type-graphql (~6K Github stars)
-
Generating TypeScript types from a GraphQL query and schema
Not exactly what you're asking, but I find it more productive to go in the other direction -- generating gql from TypeScript decorators using type-graphql (in NestJS).
-
Testing a resolver's functions directly vs. executing queries against a built schema
I found this comment saying the way to test resolvers is by executing queries against a built schema. However, at my work we currently test resolvers by testing its functions directly like in this contrived example:
-
Strongly typed GraphQL without code generation?
This is fun to work with https://typegraphql.com/
-
Using Typescript Advanced Types for GraphQL-Utils Type-Checking. 🔥
Not really, Prisma doesn't leverage SQL JOIN statements, TypeGraphQL has performance issues, and the use-cases are just completely different.
Stats
MichalLytek/type-graphql is an open source project licensed under MIT License which is an OSI approved license.
Popular Comparisons
Are you hiring? Post a new remote job listing for free.