Skip to content

taisuke-j/apollo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo Client 3 Demo

CRUD example of Apollo Client 3 (with gqlgen)

(It's currently using @apollo/client v3.0.0.)

Dependencies

Getting Started

Server

docker-compose build                                         // Build the image
docker-compose run --rm api go run db/migration/migration.go // Migration
docker-compose run --rm api go run db/seed/seed.go           // Seed
docker-compose up                                            // Run the container

Client

(Node v12.14.0)

npm i
npm run dev

The example site will be accessible at http://localhost:3000/

About this demo app

schema.graphqls file is used by both the server (GraphQL schema) and client (graphql-codegen generates types and hooks).

About

CRUD example of Apollo Client 3 (with gqlgen)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •