Closed jimjamdev closed 7 months ago
Hi @jimjamdev The Nextjs with Pothos is probably out of scope of this library
But i've already integrated in past and its how i've done.
/pages/api
ive created a folder called /graphql
/graphql
folder i've setup Apollo Server at index.ts
index.ts
i've imported and executed the autocrud
functionsThe server must works at http://localhost:3000/api/graphql
Let me know if this helped you
Is there any examples of getting this working in nextjs 14.
I'm looking at creating a gql server on app/api/graphql
I'm currently generating everything, but not sure how to hook this up correctly.