Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 912 Bytes

File metadata and controls

35 lines (23 loc) · 912 Bytes

Workshop Graphql + Apollo + NextJs

A super small demo of how to build a GraphQL server using Apollo and how to use cache and fix some problem like n+1.

>> Slides <<

workshop-graphql

File structure

The app is split out into two folders (one for server and one for client):

  • client: Client using by Nextjs
  • server: Server handle API's version

Installation

To run the app, run these commands in two separate terminal windows from the root:

cd server && npm install && npm start
# or 
cd server && yarn install && yarn start

and

cd client && npm install && npm run dev
# or
cd client && yarn install && yarn start