/next-file-upload-demo

Demo of file upload with Next.js, Apollo Client and Apollo Server

Primary LanguageTypeScript

This is a Next.js project bootstrapped with create-next-app.

Introduction

This is a demo of uploading a file via GraphQL using:

Next.js has an example of an Apollo Server and Client setup with Next.js.

The server is not configured to do anything with the file after it has been transferred.

Getting Started

First, install the dependencies:

npm install

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.