NestJs/GraphQL question: I bought a template that ...
# orm-help
z
NestJs/GraphQL question: I bought a template that is based on a Nestjs graphql API (look here: https://github.com/zakariamofaddel/NestJsGraphQL). I never worked with NestJs and I would like to migrate this whole thing to a Nodejs, Apollo-server and Prisma. Is there a quick way to generate a schema.prisma file from a schema.graphql file or from typescript classes?
r
@Zakaria 👋 You can use TypeGraphQL for this.
z
But these needs you to have a prisma schema already created, no? I would like to generate that schema since I already have all the entities, as you can see in the linked repository
r
I’m not sure if there’s a Nest to Prisma plugin available.