Skip to content

aseerkt/react-apollo-upload-example

Repository files navigation

React GraphQL Apollo (v3) Example

This template here shows how to upload files using graphql-upload and apollo-upload-client along @apollo/server and @apollo/client.

Prerequisites

Dependencies

  • @apollo/client - 3.9
  • @apollo/server - 4.10
  • react - 18
  • react-dom - 18
  • apollo-upload-client - 16
  • graphql-upload - 16
  • graphql - 16

Get Started

  • Install dependencies
pnpm run install
  • Run dev server
pnpm dev

Screenshots

react-example graphql-query