prisma-nestjs-graphql
typegraphql-prisma
prisma-nestjs-graphql | typegraphql-prisma | |
---|---|---|
2 | 6 | |
504 | 861 | |
- | - | |
7.5 | 6.8 | |
22 days ago | 3 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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-nestjs-graphql
-
How to add custom attributes in Prisma
prisma-nestjs-graphql
-
What Prisma doesn’t have yet
You can use make use of the comments to put whatever you need there, which could be accessed in the AST of the schema file. You need to implement your own generator to process it. It would be like what prisma-nestjs-graphql does :
typegraphql-prisma
-
TypeGraphQL/Nexus vs GraphQL Codegen TypeScript resolvers
I like nexus with prisma better. I feel like typegraphql shines the most when using with orms like MikroORM of TypeORM. Though prisma with typegraphql is not a bad idea, there's a cool plugin that can generate crud resolvers.
- TypeORM and go-to ORM's 2021. TypeORM dead?
-
One ORM to rule them all
I think Prisma is not only modern ORM. If we want to build a GraphQL api, it will help us boost our work. We don't have to waste our time to make CRUD operations, we just define Prisma model and it will do it for us: https://github.com/MichalLytek/typegraphql-prisma/blob/main/Readme.md
-
TypeORM: Connection vs getConnection, EntityManager vs getManager, Repository vs getRepository
Prisma works well with TypeGraphQL. In fact, there's a generator that makes it easier to generate TypeGraphQL types and CRUD resolvers from your Prisma 2 schema: https://github.com/MichalLytek/typegraphql-prisma
-
How the F**** does anyone use Prisma in production?
There are also several tools that allow you generate a GraphQL CRUD API based on Prisma, such as Amplication, KeystoneJS or typegraphql-prisma.
-
Building a GraphQL CRUD API for your Database with TypeGraphQL & Prisma
Learn more about other advanced operations you can apply to your GraphQL resolvers, such as custom resolvers, authorization, middleware and additional decorators to your Prisma schema and models here.
What are some alternatives?
zod-prisma - A custom prisma generator that creates Zod schemas from your Prisma model.
mikro-orm-graphql-example - A MikroORM (v4) example project for GraphQL made with Typescript using TypeGraphQL
amplication - 🔥🔥🔥 Open-source backend development platform. Build production-ready services without wasting time on repetitive coding.
nexus-plugin-prisma - Deprecated
runtypes - Runtime validation for static types
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
typegraphql-crud-api - Building a CRUD GraphQL API with TypeGraphQL and Prisma
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.
nexus-prisma - Prisma plugin for Nexus