Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nearform/the-graphql-workshop
- Owner: nearform
- License: cc-by-sa-4.0
- Created: 2021-11-10T14:11:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T11:55:15.000Z (9 months ago)
- Last Synced: 2024-04-11T13:12:23.034Z (9 months ago)
- Topics: fastify, graphql, mercurius, workshop
- Language: JavaScript
- Homepage: https://nearform.github.io/the-graphql-workshop
- Size: 7.04 MB
- Stars: 18
- Watchers: 64
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`