An open API service indexing awesome lists of open source software.

https://github.com/therezacuet/spring-boot-file-upload-download-rest-api

Spring Boot File Upload / Download Rest API Example
https://github.com/therezacuet/spring-boot-file-upload-download-rest-api

Last synced: 30 days ago
JSON representation

Spring Boot File Upload / Download Rest API Example

Awesome Lists containing this project

README

          

## Spring Boot File Upload / Download Rest API Example

## Steps to Setup

**1. Clone the repository**

```bash
git clone https://github.com/therezacuet/spring-boot-file-upload-download-rest-api.git
```

**2. Run the app using maven**

```bash
cd spring-boot-file-upload-download-rest-api-example
mvn spring-boot:run
```

That's it! The application can be accessed at `http://localhost:8080`.

You may also package the application in the form of a jar and then run the jar file like so -

```bash
mvn clean package
java -jar target/file-demo-0.0.1-SNAPSHOT.jar
```
Demo Screenshots:

Single File Upload | Multi File Upload | File Download
:-------------------------:|:-------------------------:|:------------------------------
![](https://github.com/therezacuet/spring-boot-file-upload-download-rest-api/blob/master/single-file-upload.jpg) | ![](https://github.com/therezacuet/spring-boot-file-upload-download-rest-api/blob/master/multi-file-upload.jpg) |![](https://github.com/therezacuet/spring-boot-file-upload-download-rest-api/blob/master/download.jpg)