Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

GraphQL Hooks Fastify SSR Example

This example uses Fastify to serve a graphql server and do server side rendering. It's very basic but showcases the different functionality that graphql-hooks offers. This example is intended more for local development of the graphql-hooks packages.

How to use

Running as part of this repo

In the root of this repository run:

npm install
lerna run build
cd examples/fastify-ssr
npm run watch

To develop packages/ with this example locally, you'll need to run lerna run build from the root to rebuild files after they've been changed.

Download the example in isolation:

curl | tar -xz --strip=2 graphql-hooks-master/examples/fastify-ssr
cd fastify-ssr

Install it and run:

npm install
npm run watch
You can’t perform that action at this time.