What should I put in the schema.graphql in src fol...
# orm-help
j
What should I put in the schema.graphql in src folder of Prisma. It is not generating anything with my datamodel, And the index.js contains some dummy resolvers not generating anything under my data model. Do i need to write myself the resolvers for Prisma generated schema? And how i connect with my own Apollo graphql schema.
🤔 2
n
have you checked a boilerplate here: https://github.com/graphql-boilerplates/node-graphql-server/? 🙂 that can provide a good start to get a first understanding of how the different components interact.
j
@nilan I already completed a project with UI and backend [ no DB part ] with AngularJS and Node + Apollo Graphql server. When i need a DB now I created a prisma DB and got auto generated queries and mutation. So I want to connect both projects [ Apollo server project and Prisma project ]. From your link above i understood that they put actual business schema in schema.graphql and resolvers are created manually by connecting DB. So do i need to include all my resolvers and business parts of my Apollo project to the /SRC folder of Prisma project for integration. Or vice versa. 🤔