Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nearform/the-graphql-workshop

A workshop about GraphQL with mercurius
https://github.com/nearform/the-graphql-workshop

fastify graphql mercurius workshop

Last synced: 16 days ago
JSON representation

A workshop about GraphQL with mercurius

Awesome Lists containing this project

README

        

# The GraphQL Workshop

[![ci](https://github.com/nearform/the-graphql-workshop/actions/workflows/ci.yml/badge.svg)](https://github.com/nearform/the-graphql-workshop/actions/workflows/ci.yml)
[![deploy](https://github.com/nearform/the-graphql-workshop/actions/workflows/deploy.yml/badge.svg)](https://github.com/nearform/the-graphql-workshop/actions/workflows/deploy.yml)

A step by step guide to implement a GraphQL server with Fastify and Mercurius.

## Slideshow Presentation

[The GraphQL Workshop Slides](https://nearform.github.io/the-graphql-workshop)

## Requirements

- Node LTS
- docker
- docker-compose

## Setup

- `npm ci`
- `npm run db:up`
- `npm run db:migrate`

### Run automated tests

- `npm test --workspaces`

#### Run automated tests on a single project

- `npm test -w src/step-05-context`

## Running the modules

- `cd src/step-{n}-{name}`
- check each module's README file to see which scripts are available

## Presenting

- `npm start`