leifoolsen / react-graphql-workshop

☀️ React & GraphQL workshop

Home Page:https://react-graphql-workshop.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React & GraphQL – From zero to production

Welcome to the React & GraphQL workshop! ☀️

In this workshop we are going to build a Twitter Lite application with React & GraphQL. The workshop material is divided into following:

  • ⚙️ Setup GraphQL Server
  • 🍎 Define GraphQL Queries
  • 🥑 Define GraphQL Mutations
  • 🔑 Access Control & Authorization
  • 🎛 Setup Apollo Client
  • 🥝 GraphQL Queries in React
  • 🍇 GraphQL Mutations in React

You can try the finished app here.

🔧 Setup

git clone https://github.com/glennreyes/react-graphql-workshop.git
cd react-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 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

About

☀️ React & GraphQL workshop

https://react-graphql-workshop.netlify.com

License:MIT License


Languages

Language:JavaScript 90.2%Language:HTML 7.2%Language:CSS 2.7%