{"id":24308754,"url":"https://github.com/ramanks19/springboot-imgur-app","last_synced_at":"2025-03-06T20:16:59.712Z","repository":{"id":272563849,"uuid":"916622494","full_name":"ramanks19/springboot-imgur-app","owner":"ramanks19","description":"A repository to upload images in Imgur.","archived":false,"fork":false,"pushed_at":"2025-01-15T08:02:16.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T09:57:15.527Z","etag":null,"topics":["imgur-api","java","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/ramanks19.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":"2025-01-14T13:12:05.000Z","updated_at":"2025-01-15T08:02:18.000Z","dependencies_parsed_at":"2025-01-15T09:58:10.810Z","dependency_job_id":"15bb855a-54c2-47d5-90de-26c2c7447a35","html_url":"https://github.com/ramanks19/springboot-imgur-app","commit_stats":null,"previous_names":["ramanks19/springboot-imgur-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramanks19%2Fspringboot-imgur-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramanks19%2Fspringboot-imgur-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramanks19%2Fspringboot-imgur-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramanks19%2Fspringboot-imgur-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ramanks19","download_url":"https://codeload.github.com/ramanks19/springboot-imgur-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277703,"owners_count":20101545,"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":["imgur-api","java","spring-boot"],"created_at":"2025-01-17T05:11:26.618Z","updated_at":"2025-03-06T20:16:59.693Z","avatar_url":"https://github.com/ramanks19.png","language":"Java","readme":"# Image Upload Application\nThis application is a Spring Boot-based RESTFUL service thar allows users to upload images to Imgur, associate them with their accounts, and manage user profiles.\n\n## Features\n- User registration and authentication\n- RESTful APIs for upload, view and delete image\n- Unit tests for services \n- H2 in-memory database for development\n\n### Technologies Used:\n- **Java**: Version 17\n- **Spring Boot**: 3.x.x\n- **Database**: H2 Database\n- **API's Used**: Imgur Image API\n- **Build Tool**: Maven\n- **Testing Framework**: JUnit\n\n### Installation\n#### Clone the repository:\n```\ngit clone https://github.com/ramanks19/springboot-imgur-app.git\n```\n\n#### Build the project:\n```\nmvn clean install\n```\n\n#### Run the Spring Boot application:\n```\nmvn spring-boot:run\n```\n\n### API Endpoints\n#### User APIs\n- /api/users/register - A POST request to create a User\n- /api/users/authenticate - A POST request to authenticate a user \n- /api/users/{userName} - A GET request to retrieve the user profile\n\n#### Image APIs\n- /api/images/upload - A POST request to upload an Image\n- /api/images/user/{userName} - A GET request to obtain all the images associated with the User\n- /api/images/delete/{imageId} - A DELETE request to delete an image using its image ID obtained from Imgur\n\n### Important Points\nBefore accessing the Imgur APIs you need to obtain the client-ID and client-secret for your application from Imgur. For more information you can visit - https://apidocs.imgur.com/#intro\n\n### Points of Improvement\nSince, this is a very basic example of how to use Imgur API, it can be enhanced further by:\n- Obtaining access tokens and refresh tokens to enable more dedicated functionality.\n- To use Redis for storing tokens. \n- Using Spring Security to enhance the security features.\n- Only basic Junit test cases has been added. More functionalities can be added to have a more robust testing framework.\n- Can look into adding the functionality for Kafka.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framanks19%2Fspringboot-imgur-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framanks19%2Fspringboot-imgur-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framanks19%2Fspringboot-imgur-app/lists"}