graphql-workshop

🌈 GraphQL workshop

MIT License

Stars
9

GraphQL for JS developers

Welcome to the GraphQL workshop! 🌈

In this workshop we are going to build a GraphQL server for a Twitter Lite app. The workshop material is divided into following:

  • ⚙️ Setup GraphQL Server
  • 🍎 Define GraphQL Queries
  • 🥑 Define GraphQL Mutations
  • 🔑 Access Control & Authorization
  • 🥝 GraphQL Queries in React
  • 🍇 GraphQL Mutations in React
  • 🍕 Fragments
  • 🦋 Optimistic UI
  • 🐞 Subscriptions

See a demo here here.

🔧 Setup

git clone https://github.com/glennreyes/graphql-workshop.git
cd graphql-workshop
yarn

🛰 Working with the GraphQL Server

Move to the server folder:

cd server

Start server in dev/watch mode. This will re-run the server everytime you make changes in the source.

yarn dev

⚛️ Working with the Client (Create React App)

Move to the client folder:

cd client

Start the app with:

yarn start

📚 Exercises

Misc

🔗 Helpful links

✏️ Feedback form

https://glennreyes.com/workshops/feedback