typegraphql-prisma
docs
Our great sponsors
typegraphql-prisma | docs | |
---|---|---|
6 | 5 | |
859 | 948 | |
- | 0.4% | |
6.8 | 9.7 | |
2 months ago | 7 days ago | |
TypeScript | MDX | |
MIT License | Apache License 2.0 |
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.
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.
docs
-
Show HN: I wrote a book about UI [pdf]
The syntax plugins for Prisma ORM auto-format their schema files in a similar way [1]. It bothers me so much that I can't bring myself to use their solution - which I realise is incredibly petty :)
[1] https://github.com/prisma/docs/blob/main/content/200-concept...
-
Prisma ORM: how to use the great database mapping package
https://github.com/prisma/docs/issues/1652 It's almost as if when you're biased, you only find what you are looking for.
-
How the F**** does anyone use Prisma in production?
Ha, thanks a lot for catching this, just fixed it ✅
-
Frustrated about ORMs
That's fair! I'm actually with you that proper documentation contributes a lot to a positive developer experience and while it seems like a detail, I totally understand how this feels off putting! I've created an issue for this forwarded it to our docs team to get this fixed very soon. Thanks again for reporting!
-
PERN stack with Typescript?
What exactly do you mean with a bulk API? As of now, Prisma provides updateMany and deleteMany operations. There's also the $transaction method which you can use for bulk creates and other bulk operations (plus we're also working on extending the Prisma Client API, e.g. with `createMany operations).
What are some alternatives?
mikro-orm-graphql-example - A MikroORM (v4) example project for GraphQL made with Typescript using TypeGraphQL
zapatos - Zero-abstraction Postgres for TypeScript: a non-ORM database library
nexus-plugin-prisma - Deprecated
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
runtypes - Runtime validation for static types
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
posthog.com - Official docs, website, and handbook for PostHog.
ts-mysql-plugin - A typescript language service plugin that gives superpowers to SQL tagged template literals.
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
nestjs-auth-graphql-mikroorm-starter - A NestJS boilerplate with authentication, GraphQL and MikroORM.