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 <<
The app is split out into two folders (one for server
and one for client
):
client
: Client using by Nextjsserver
: Server handle API's version
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