https://www.callicoder.com/spring-boot-file-upload-download-rest-api-example/
- clone the repo
- change the file upload path in src/main/resources/application.properties file.upload-dir=./../folderName
mvn spring-boot:run
or
java -jar target/file-demo-0.0.1-SNAPSHOT.jar
go to http://localhost:8080
Now the application is ready to use