Demonstration of using graphql-codegen-relay-plugin
with TodoMVC.
Server code is based on Relay TodoMVC
Frontend code is also based on Relay TodoMVC but ported over to ReactApollo (@apollo/react-hooks
).
yarn server
yarn start
- Visit TODO MVC App on
localhost:3000
- Frontend uses
create-react-app
. - GraphQL Server uns on port
3001
- Types are generated with the command
yarn generate:types