{"id":26035738,"url":"https://github.com/adityakumar-2501/cloud-vendor-api","last_synced_at":"2026-04-11T07:38:03.124Z","repository":{"id":280785708,"uuid":"943160553","full_name":"AdityaKumar-2501/Cloud-Vendor-API","owner":"AdityaKumar-2501","description":"This repository contains the source code for a Spring Boot REST API designed to manage cloud vendor information. It provides endpoints for creating, retrieving, updating, and deleting cloud vendor records.","archived":false,"fork":false,"pushed_at":"2025-03-05T09:15:25.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T10:23:47.771Z","etag":null,"topics":["hibernate-jpa","intelij-ide","java-17","jdbc-driver","maven","mysql-database","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/AdityaKumar-2501.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-03-05T09:09:07.000Z","updated_at":"2025-03-05T09:21:17.000Z","dependencies_parsed_at":"2025-03-05T10:23:49.521Z","dependency_job_id":null,"html_url":"https://github.com/AdityaKumar-2501/Cloud-Vendor-API","commit_stats":null,"previous_names":["adityakumar-2501/cloud-vendor-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaKumar-2501%2FCloud-Vendor-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaKumar-2501%2FCloud-Vendor-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaKumar-2501%2FCloud-Vendor-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaKumar-2501%2FCloud-Vendor-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdityaKumar-2501","download_url":"https://codeload.github.com/AdityaKumar-2501/Cloud-Vendor-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242338994,"owners_count":20111502,"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":["hibernate-jpa","intelij-ide","java-17","jdbc-driver","maven","mysql-database","spring-boot"],"created_at":"2025-03-07T05:53:45.162Z","updated_at":"2026-04-11T07:38:03.084Z","avatar_url":"https://github.com/AdityaKumar-2501.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Vendor API\n\nThis repository contains the source code for a Spring Boot REST API designed to manage cloud vendor information. It provides endpoints for creating, retrieving, updating, and deleting cloud vendor records.\n\n## Table of Contents\n\n-   [Project Description](#project-description)\n-   [Features](#features)\n-   [Technologies Used](#technologies-used)\n-   [Setup Instructions](#setup-instructions)\n    -   [Prerequisites](#prerequisites)\n    -   [Running the Application](#running-the-application)\n-   [API Endpoints](#api-endpoints)\n-   [Testing](#testing)\n-   [Contributing](#contributing)\n-   [License](#license)\n-   [Contact](#contact)\n\n## Project Description\n\nThe Cloud Vendor API is a backend service developed using Spring Boot. It allows users to manage cloud vendor details through a set of RESTful endpoints. This project serves as a practical example of building a simple CRUD (Create, Read, Update, Delete) API with Spring Boot.\n\n## Features\n\n-   **CRUD Operations:** Supports creating, retrieving, updating, and deleting cloud vendor records.\n-   **RESTful API:** Provides a clean and standardized API for interacting with cloud vendor data.\n-   **Spring Boot:** Leverages the power of Spring Boot for rapid development and deployment.\n-   **In-Memory Data Storage:** Uses an in-memory data store for simplicity (can be easily extended to use a persistent database).\n-   **Basic Error Handling:** Includes basic error handling for common scenarios.\n\n## Technologies Used\n\n-   **Java 17+**\n-   **Spring Boot**\n-   **Maven**\n-   **JUnit**\n-   **Mockito**\n\n## Setup Instructions\n\n### Prerequisites\n\n-   Java Development Kit (JDK) 17 or higher\n-   Maven\n-   An IDE (e.g., IntelliJ IDEA, Eclipse, VS Code with Java extensions)\n\n### Running the Application\n\n1.  **Clone the repository:**\n\n    ```bash\n    git clone [https://github.com/AdityaKumar-2501/Cloud-Vendor-API.git](https://www.google.com/search?q=https://github.com/AdityaKumar-2501/Cloud-Vendor-API.git)\n    cd Cloud-Vendor-API\n    ```\n\n2.  **Build the project using Maven:**\n\n    ```bash\n    mvn clean install\n    ```\n\n3.  **Run the Spring Boot application:**\n\n    ```bash\n    mvn spring-boot:run\n    ```\n\n    Alternatively, you can run the `CloudVendorApiApplication.java` class directly from your IDE.\n\n4.  The API will be available at `http://localhost:8080`.\n\n## API Endpoints\n\n-   **GET /cloudvendor/{vendorId}**: Retrieves a cloud vendor by ID.\n    -   Example: `GET /cloudvendor/1`\n-   **GET /cloudvendor**: Retrieves all cloud vendors.\n    -   Example: `GET /cloudvendor`\n-   **POST /cloudvendor**: Creates a new cloud vendor.\n    -   Request body (JSON):\n\n        ```json\n        {\n          \"vendorName\": \"Example Vendor\",\n          \"vendorAddress\": \"123 Example Street\",\n          \"vendorPhoneNumber\": \"123-456-7890\"\n        }\n        ```\n\n-   **PUT /cloudvendor/{vendorId}**: Updates an existing cloud vendor.\n    -   Request body (JSON):\n\n        ```json\n        {\n          \"vendorName\": \"Updated Vendor Name\",\n          \"vendorAddress\": \"Updated Address\",\n          \"vendorPhoneNumber\": \"987-654-3210\"\n        }\n        ```\n\n-   **DELETE /cloudvendor/{vendorId}**: Deletes a cloud vendor by ID.\n    -   Example: `DELETE /cloudvendor/1`\n\n## Testing\n\nThe project includes unit tests written with JUnit and Mockito. To run the tests:\n\n```bash\nmvn test","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityakumar-2501%2Fcloud-vendor-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityakumar-2501%2Fcloud-vendor-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityakumar-2501%2Fcloud-vendor-api/lists"}