React app example with data fetching by graphql
Actual implementation for 2020
- api source: https://graphqlzero.almansi.me/
- UI:
react,antd,classnames - Lang:
typescript (3.7+) - Fetching:
graphql,apollo-client (3+)- API Codegen:
graphql-codegen
- API Codegen:
- Routing:
react-router
# install deps
npm i
# run stand
npm run start# update local api once
npm run api:gen
# update by changes (watch)
npm run api:gen--watchnpm run lint:fix# Run all tests
npm run test
# Run unit tests
npm run unit
# Run lint tests
npm run lint- Q:
Show mecode! - A: pages/tasks-list
