This is an example express app that:
- Accepts url-encoded, json-body or multipart/form-data
- On upload, writes the file to S3
- Passes uploaded metadata to the resolvers for manipulation
- Generates signed URLs for the files (so you can keep your bucket private)
$ git clone https://github.com/dncrews/graphql-busboy-s3-example.git
$ npm install
$ npm start
Set necessary values in ./lib/config.json
Load the included postman collection into Postman. You can then run the Mutation and then Query.