Chapter 7: Handling Image Uploads
All social networks have one thing in common: each of them allows its users to upload custom and personal pictures, videos, or any other kind of document. This feature can take place inside chats, posts, groups, or profiles. To offer the same functionality, we are going to implement an image upload feature in Graphbook.
This chapter will cover the following topics:
- Setting up Amazon Web Services
- Configuring an AWS S3 bucket
- Accepting file uploads on the server
- Uploading images with React through Apollo
- Cropping images
Technical requirements
The source code for this chapter is available in the following GitHub repository:
Get Full-Stack Web Development with GraphQL and React - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.