Skip to content

Files

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Download this project.

Run server

cd ${project_home}/example/server
yarn install
yarn start
  1. access "http://localhost:8080/graphql"

Run Apollo Client

  1. Make sure the server is running
cd ${project_home}/example/client/apollo-demo
yarn install
yarn start
  1. access "http://localhost:3000"

Re-generate client code(Optional)

  1. Make sure the server is running

cd ${project_home}/example/client/apollo-demo
yarn codegen
  1. All the files under '${project_home}/example/client/apollo-demo/src/__generated' have been recreated.

Back to home