Technical Stack:
- Node v12
- Parcel
- TypeScript
- React
- Apollo GraphQL + GraphQL Code Generator
Recommended Directory Structure:
- src/
- Feed.tsx - component implementation
- Feed.gql - component graphql definitions
- utils.ts - utility functions
- Check version of NodeJS is 12
- Define environment variables in .env
- Set schema address in codegen.yml
- Install dependencies:
npm install
- Run Development:
npm run dev
- Build Production:
npm run build