Welcome to Client-Side GraphQL with React!
Are you ready to dive into the exciting world of modern web development? In this course, we'll be exploring the powerful combination of GraphQL and React to build dynamic and efficient client-side applications. You can follow along and watch the course on frontendmasters!
To make the most out of this course, it's recommended that you have a basic understanding of:
This course is designed to be engaging and interactive, with a blend of:
By the end of this course, you'll not only have a firm grasp of GraphQL on the FrontEnd with React but also the skills and confidence to build your own client-side GraphQL applications from scratch.
npm install
Create a Turso account
Follow the instructions to make a new DB (you don’t need a replica)
Follow instructions to download the CLI and authenticate
Using the CLI, generate a token for your db with this command turso db tokens create [your db name]
Create a .env
file on the root
Add these env vars
TURSO_CONNECTION_URL="your turso db url"
TURSO_AUTH_TOKEN="your db token"
Push the schema to your Turso DB with this command npm run db:push