{"id":22007074,"url":"https://github.com/vimal1464/spring-boot-media-service","last_synced_at":"2026-04-17T11:33:07.156Z","repository":{"id":217099627,"uuid":"743071130","full_name":"Vimal1464/spring-boot-media-service","owner":"Vimal1464","description":"This project aims to provide a straightforward solution for handling image data through a Spring Boot-based RESTful API. It leverages a MySQL database to store and retrieve images efficiently.","archived":false,"fork":false,"pushed_at":"2024-01-14T08:37:06.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T07:11:54.964Z","etag":null,"topics":["formdata","jdbc","multipart","multipart-uploads","mysql","spring-boot"],"latest_commit_sha":null,"homepage":"","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/Vimal1464.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-14T08:27:35.000Z","updated_at":"2024-01-22T18:14:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"120f9f9b-6979-4b8b-8ef5-c4bb2411e6b9","html_url":"https://github.com/Vimal1464/spring-boot-media-service","commit_stats":null,"previous_names":["vimal1464/spring-boot-media-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vimal1464/spring-boot-media-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vimal1464%2Fspring-boot-media-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vimal1464%2Fspring-boot-media-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vimal1464%2Fspring-boot-media-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vimal1464%2Fspring-boot-media-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vimal1464","download_url":"https://codeload.github.com/Vimal1464/spring-boot-media-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vimal1464%2Fspring-boot-media-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31927895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["formdata","jdbc","multipart","multipart-uploads","mysql","spring-boot"],"created_at":"2024-11-30T01:16:57.760Z","updated_at":"2026-04-17T11:33:07.140Z","avatar_url":"https://github.com/Vimal1464.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Media Service\n[![Java Version](https://img.shields.io/badge/Java-17-green.svg)](https://docs.oracle.com/en/java/javase/11/)\n[![Spring Boot Version](https://img.shields.io/badge/Spring%20Boot-3.2.0-green.svg)](https://spring.io/projects/spring-boot)\n[![Spring Security Version](https://img.shields.io/badge/Spring%20Security-green.svg)](https://spring.io/projects/spring-security)\n[![JWT Version](https://img.shields.io/badge/JWT-0.11.5-green.svg)](https://github.com/jwtk/jjwt)\n[![MySQL Version](https://img.shields.io/badge/MySQL-8.0-blue.svg)](https://www.mysql.com/)\n\n\n\nWelcome to the Spring Boot Media Service! This is a simple Spring Boot REST API service designed for storing image data in a MySQL database and retrieving it later.\n\n## Table of Contents\n- [Introduction](#introduction)\n- [Clone and Run](#clone-and-run)\n- [Features](#features)\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nThis project aims to provide a straightforward solution for handling image data through a Spring Boot-based RESTful API. It leverages a MySQL database to store and retrieve images efficiently.\n\n## Clone and Run\n\nTo clone and run this project locally, follow these steps:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Vimal1464/spring-boot-media-service.git\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd spring-boot-media-service\n   ```\n\n3. Build the project using Maven:\n   ```bash\n   mvn clean install\n   ```\n\n4. Run the application:\n   ```bash\n   java -jar target/spring-boot-media-service.jar\n   ```\n\nThe application will start, and you can access the API at [http://localhost:8080](http://localhost:8080).\n\n## Features\n\n- **Image Storage:** Upload and store image files in the MySQL database.\n- **Image Retrieval:** Retrieve previously stored images based on their unique identifiers.\n\n## Getting Started\n\nMake sure you have the following prerequisites installed on your machine:\n\n- Java Development Kit (JDK)\n- Maven\n- MySQL database\n\nUpdate the `application.properties` file with your MySQL database configuration.\n\n```properties\nspring.datasource.url=jdbc:mysql://localhost:3306/your_database\nspring.datasource.username=your_username\nspring.datasource.password=your_password\n```\n\n## Usage\n\n1. **Upload Image:**\n   - Send a POST request to `/file/upload` with the image file as a multipart form data.\n   - Example:\n     ```bash\n     curl -X POST -H \"Content-Type: multipart/form-data\" -F \"file=@/path/to/your/image.jpg\" http://localhost:8080/file/upload\n     ```\n\n2. **Retrieve Image:**\n   - Send a GET request to `/file/{imagename}` to retrieve the image with the specified Image Name.\n   - Example:\n     ```bash\n     curl http://localhost:8080/file/test.png --output retrieved_image.jpg\n     ```\n\n3. **Additional Operations:**\n   - Explore other API endpoints for more operations, such as listing all images or deleting an image.\n\n## Contributing\n\nFeel free to contribute to the development of this project. Fork the repository, make your changes, and submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimal1464%2Fspring-boot-media-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvimal1464%2Fspring-boot-media-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimal1464%2Fspring-boot-media-service/lists"}