Apollo + TypeScript + Codegen + React
- Node.js ^12.16.1
- Yarn ^1.22.4
yarn install
# Server
yarn server start # http://localhost:4000 が起動する
# Client
yarn client setup # ES Modules コードが生成される
yarn client start # http://localhost:3000 が起動する
以下、参考 URL。
- Apollo なら爆速で GraphQL サーバーと GraphQL クライアントアプリが作れる - Qiita
- GraphQL Code Generator | GraphQL Code Generator
- Get started - Client (React) - Apollo GraphQL Docs
- @wakamsha