{"id":20811007,"url":"https://github.com/mrmodise/java-spring-file-upload","last_synced_at":"2025-05-07T09:16:30.826Z","repository":{"id":5927229,"uuid":"54266410","full_name":"mrmodise/java-spring-file-upload","owner":"mrmodise","description":"Upload images using Java Spring MVC","archived":false,"fork":false,"pushed_at":"2023-02-22T06:57:39.000Z","size":213,"stargazers_count":9,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T09:16:21.932Z","etag":null,"topics":["images-springframework","spring-security","spring-security-oauth","springframework"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmodise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-19T13:06:04.000Z","updated_at":"2024-09-18T15:47:13.000Z","dependencies_parsed_at":"2024-11-17T20:37:40.089Z","dependency_job_id":"34692d36-d3d5-4f9c-b5de-3991d5286e7e","html_url":"https://github.com/mrmodise/java-spring-file-upload","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/mrmodise%2Fjava-spring-file-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fjava-spring-file-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fjava-spring-file-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fjava-spring-file-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmodise","download_url":"https://codeload.github.com/mrmodise/java-spring-file-upload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847524,"owners_count":21813458,"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":["images-springframework","spring-security","spring-security-oauth","springframework"],"created_at":"2024-11-17T20:35:32.601Z","updated_at":"2025-05-07T09:16:30.799Z","avatar_url":"https://github.com/mrmodise.png","language":"Java","readme":"### Java Spring File Upload\nUpload images using Java Spring MVC\n\n### Overview\nIn this simple application I am using Spring MVC and JPA (Hibernate) to persist User's information to the database including their profile photo/image. \n\n### Requirements\n - MySQL database needs to be installed (https://dev.mysql.com/downloads/)\n - Internet connection to download the dependencies\n - Knowledge of Java and Spring framework\n\n### Setup\n - Clone the project to your local machine\n - Import the project into Spring Tool Suite/Eclipse/IntellijIDEA\n - Locate the Database folder and change the database name, username and password\n - Open the ```modisefileupload.java.controller.UserController``` and \n modify the image path (for development purposes you will need to point the path to you local computer, \n I have commented out the actual `rootDirect` to be used in the Server).\n - Right click on the project and run on server\n - Enjoy!\n\n\n### License\n```\nThe MIT License (MIT)\n\nCopyright (c) 2016 Mr Modise\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmodise%2Fjava-spring-file-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmodise%2Fjava-spring-file-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmodise%2Fjava-spring-file-upload/lists"}