-
Notifications
You must be signed in to change notification settings - Fork 0
50 implement resolvers and connect graphql to mysql #56
Merged
agnesas
merged 10 commits into
main
from
50-implement-resolvers-and-connect-graphql-to-mysql
Oct 18, 2026
Merged
50 implement resolvers and connect graphql to mysql #56
agnesas
merged 10 commits into
main
from
50-implement-resolvers-and-connect-graphql-to-mysql
Oct 18, 2026
+2,253
−577
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was
linked to
issues
Oct 15, 2026
Closed
larsjfo
requested changes
Oct 15, 2026
- Configure Apollo Server with Node.js and TypeScript - Define the initial Pokémon GraphQL schema and queries - Add backend setup instructions to the README - Add a root .gitignore for dependencies, build output, and secrets
- Configure Apollo Server with Node.js and TypeScript - Define the initial Pokémon GraphQL schema and queries - Add backend setup instructions to the README - Add a root .gitignore for dependencies, build output, and secrets
02fbffb to
8a7c001
Compare
larsjfo
approved these changes
Oct 18, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great work!
Sign in
to join this conversation on GitHub.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Set up the GraphQL API for the Pokémon application and connect it to the MariaDB/MySQL database. This PR includes the GraphQL server and initial schema from #49, as well as the resolvers, Apollo Client integration, and frontend data fetching from #50.
The React frontend can retrieve Pokémon data through the GraphQL API, and the backend includes error handling for failed database queries. The README has also been updated with backend setup and configuration instructions.
Changes
Testing
Issue
Closes: #48, which includes #49, #50, #51 and #52