DEV Community

Chris Siku
Chris Siku

Posted on

Upload multiple images To Rails 7 API - Active_storage : Intro

Image description


Uploading multiple images is a common requirement for many web applications. This blog post will guide you through the process of uploading multiple images to a backend API using React.js. This blog post is part of a two-part series.

In Part 1, we will cover the backend API development with Rails 7, which involves setting up the Rails project, configuring the database, creating the necessary controllers and models, and adding the logic to handle image uploads. The code for the backend API is available on GitHub via the link multiple-image-uploads-api and the blog post is available on dev.to via the link Upload multiple images To Rails 7 API - Active_storage : Part 1

In Part 2, we will cover the frontend development with React.js, which involves creating a form to upload images, calling the backend API endpoints to upload the images, and displaying the uploaded images on the page. The code for the frontend application is available on GitHub via the link multiple-image-uploads-client and the blog post is available on dev.to via the link Upload multiple images To Rails 7 API - Active_storage : Part 2

By the end of this two-part series, you will have a complete understanding of how to upload multiple images to a backend API using React.js, and have a working example that you can build upon in your own projects.

... Part 1 ⏭⏭

Top comments (0)