29/07/2024
๐๐๐๐ซ๐ง๐๐ ๐๐๐จ๐ฎ๐ญ ๐๐ซ๐๐๐ญ๐ข๐ง๐ ๐๐ซ๐๐ฉ๐ก๐๐ ๐๐๐๐ฌ ๐ฐ๐ข๐ญ๐ก ๐๐ฉ๐จ๐ฅ๐ฅ๐จ ๐๐๐ซ๐ฏ๐๐ซ! ๐
code repo : https://lnkd.in/g_tSKXre
Notes: https://lnkd.in/gE_d937p
Here's a quick summary of the topics I covered:
โ
Setting Up GraphQL with Node.js and Apollo Server:
โ
Initialized a Node project.
โ
Installed Apollo Server and necessary packages.
โ
Created project structure and setup Apollo Server in index.js.
โ
Basic Terms:
-typeDefs
-Resolvers
-Schema
โ
Creating Schema and Resolvers:
โ
Defined schema in schema.js.
โ
Wrote resolver functions in index.js.
โ
Making Requests in Apollo Sandbox:
โ
Practiced sending queries and mutations.
โ
Mutations (Adding and Deleting Data):
โ
Defined Mutation type in schema.
โ
Created resolver functions for mutations.
โ
Updating Data:
โ
Used input types to group arguments for mutations.