{"id":13597570,"url":"https://github.com/callicoder/spring-boot-file-upload-download-rest-api-example","last_synced_at":"2025-04-05T00:09:58.599Z","repository":{"id":78653601,"uuid":"129103262","full_name":"callicoder/spring-boot-file-upload-download-rest-api-example","owner":"callicoder","description":"Spring Boot File Upload / Download Rest API Example","archived":false,"fork":false,"pushed_at":"2021-10-13T17:02:37.000Z","size":65,"stargazers_count":414,"open_issues_count":5,"forks_count":329,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-03-28T23:09:05.440Z","etag":null,"topics":["file-download","file-upload","rest","spring","spring-boot","spring-mvc"],"latest_commit_sha":null,"homepage":"https://www.callicoder.com/spring-boot-file-upload-download-rest-api-example/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/callicoder.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-11T14:04:31.000Z","updated_at":"2025-03-21T21:03:25.000Z","dependencies_parsed_at":"2023-03-07T23:45:17.038Z","dependency_job_id":null,"html_url":"https://github.com/callicoder/spring-boot-file-upload-download-rest-api-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-file-upload-download-rest-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-file-upload-download-rest-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-file-upload-download-rest-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-file-upload-download-rest-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/callicoder","download_url":"https://codeload.github.com/callicoder/spring-boot-file-upload-download-rest-api-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266565,"owners_count":20910836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-download","file-upload","rest","spring","spring-boot","spring-mvc"],"created_at":"2024-08-01T17:00:36.348Z","updated_at":"2025-04-05T00:09:58.580Z","avatar_url":"https://github.com/callicoder.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"## Spring Boot File Upload / Download Rest API Example\n\n**Tutorial**: [Uploading an Downloading files with Spring Boot](https://www.callicoder.com/spring-boot-file-upload-download-rest-api-example/)\n\n## Steps to Setup\n\n**1. Clone the repository** \n\n```bash\ngit clone https://github.com/callicoder/spring-boot-file-upload-download-rest-api-example.git\n```\n\n**2. Specify the file uploads directory**\n\nOpen `src/main/resources/application.properties` file and change the property `file.upload-dir` to the path where you want the uploaded files to be stored.\n\n```\nfile.upload-dir=/Users/callicoder/uploads\n```\n\n**2. Run the app using maven**\n\n```bash\ncd spring-boot-file-upload-download-rest-api-example\nmvn spring-boot:run\n```\n\nThat's it! The application can be accessed at `http://localhost:8080`.\n\nYou may also package the application in the form of a jar and then run the jar file like so -\n\n```bash\nmvn clean package\njava -jar target/file-demo-0.0.1-SNAPSHOT.jar\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallicoder%2Fspring-boot-file-upload-download-rest-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallicoder%2Fspring-boot-file-upload-download-rest-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallicoder%2Fspring-boot-file-upload-download-rest-api-example/lists"}