/graphql-typescript-workshop

This is a series of exercised to learn how to implement a GraphQL server with TypeScript and do end-to-end type-safety

Primary LanguageShellMIT LicenseMIT

GraphQL and TypeScript Workshop

This repository contains the exercises for my Type-safe GraphQL apps with TypeScript workshop. You can watch the recording of the workshop from TSConf 2021 on YouTube.

Watch the workshop recording

Undertaking the workshop

The workshop is designed to be instructor-led, so if you would like to participate in it contact me via the info on my GitHub profile. But it can be a self-directed workshop, with the guides being within the steps folder.

Prerequisites

VS Code devcontainer

The workshop contains VS Code devcontainer to help setup your environment. You can either open the whole repository in one, each step of the workshop or the completed application. This will setup all the required software and install extensions that will be useful for doing the workshop.

Alternatively, you can use GitHub Codespaces which will load the devcontainer from the root.

Learn more about why to use a devcontainer here.

Required Software

If you are unable to use the devcontainer the following software is required:

Optional steps

The workshop is designed to be run without any database or hosting platform, but if you desire it can be configured to use CosmosDB and deployed to Azure Static Web Apps. If you don't have an Azure account, you can sign up for one for free.