Working example? #164
-
Is there a repo that I can look at that integrates a database of some sort to see how a full integration would look like? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
I don't know of any good open source example apps. It's something I've been meaning to work on, but haven't had time to build out. There are functional example apps used for testing in each package. The only one of these that uses a database is the one for the Prisma plugin: https://github.com/hayes/giraphql/tree/main/packages/plugin-prisma/tests/example |
Beta Was this translation helpful? Give feedback.
-
A friend built a scaffolding (paid product) that is designed to be a production ready app that uses GiraphQL. Probably not what you are looking for though. https://www.nytro.dev/ |
Beta Was this translation helpful? Give feedback.
-
What are the things you would want from ab example app? Are you looking for something production ready that integrates with a lot of tools (opinionated), something simple that shows off GiraphQL patterns you can adapt into an existing app, etc. One of the biggest things I've struggled with when trying to start on building out examples is figuring out what should actually be included, how many models, patterns, plugins, 3rd party packages should be part of those examples |
Beta Was this translation helpful? Give feedback.
-
I've completed my example at https://github.com/theogravity/graphql-giraphql-server-example/ I have some questions regarding typing that I'll create a new discussion topic for. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@hayes you're free to mention it in documentation if you create an examples section i'm also happy to transfer it to your repo as well |
Beta Was this translation helpful? Give feedback.
I've completed my example at https://github.com/theogravity/graphql-giraphql-server-example/
I have some questions regarding typing that I'll create a new discussion topic for. Thanks!