{"id":25050929,"url":"https://github.com/memaev/vesselmanagementservice","last_synced_at":"2026-06-24T22:31:51.360Z","repository":{"id":274037464,"uuid":"921592514","full_name":"memaev/VesselManagementService","owner":"memaev","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-26T18:08:43.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T04:51:14.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/memaev.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-24T08:38:58.000Z","updated_at":"2025-01-26T18:08:46.000Z","dependencies_parsed_at":"2025-01-24T14:24:25.220Z","dependency_job_id":"7a02ab3d-55b3-4423-97d1-827f1ed6bb22","html_url":"https://github.com/memaev/VesselManagementService","commit_stats":null,"previous_names":["memaev/vesselmanagementservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/memaev/VesselManagementService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memaev%2FVesselManagementService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memaev%2FVesselManagementService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memaev%2FVesselManagementService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memaev%2FVesselManagementService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memaev","download_url":"https://codeload.github.com/memaev/VesselManagementService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memaev%2FVesselManagementService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34752465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-02-06T09:18:37.915Z","updated_at":"2026-06-24T22:31:51.351Z","avatar_url":"https://github.com/memaev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vessel Management Service API\n\n## API Overview\nThis API was created to optimize the process of vessel management, including creation, updating, deletion and retrieval with filters.\n\n## Main API features\n- Creating new vessel\n- Updating vessel\n- Deleting vessel\n- Finding vessel by ID\n- Retrieving all vessels by the following color filter\n\n## Technical Specifies \n- Java 17\n- Spring Boot 3.4.1\n- PostgreSQL\n- Docker Compose\n- Test Containers test library\n- Rest Assured test library\n\n## How to use?\nTo build and run the Vessel Management Service perform the following stages:\n  - Make sure that Java, Docker Engine and Docker Compose are installed on your machine.\n  - Make sure that Docker Engine is running.\n  - Add .env file in the root folder of the project with the following fields:\n    - USERNAME = \n    - PASSWORD = \n    - DB_PORT = \n    - DB_NAME = \n    - LOCAL_PORT = \n    - DOCKER_EXIT_PORT = \n  - Enter the root folder of the project and run the file named \"runProject.sh\".\n  - Wait for the project to build and run in docker composed containers (for backend app and database).\n  - Enter [Swagger Generated Docs](http://localhost:8080/swagger-ui/index.html) to see endpoints spec.\n\n## Project structure and explanation\n- src\n  - main\n    - java/dem/llc/vesselmanagementservice\n      - controller\n        - VesselController.java - @RestController java class that implements endpoints for working with management service:\n          - ResponseEntity\u003cVesselDto\u003e createVessel(@RequestBody CreateVesselRequestDto requestDto) - method for POST request to create new vessel.\n          - ResponseEntity\u003cVesselDto\u003e updateVessel(@PathVariable UUID id, @RequestBody UpdateVesselRequestDto updatedVesselDto) - PUT endpoint method to update vessel.\n          - void deleteVessel(@PathVariable UUID id) - DELETE endpoint method to delete vessel by id.\n          - ResponseEntity\u003cVesselDto\u003e getVesselById(@PathVariable UUID id) - GET endpoint method to get vessel by ID.\n          - List\u003cVesselDto\u003e getVessels(@RequestParam(required = false) String color) - GET endpoint method to get vessels by color filter.\n      - dto\n        - CreateVesselRequestDto.java - DTO class for receiving request for vessel creation. \n        - UpdateVesselRequestDto.java - DTO class for receiving request for vessel update.\n        - VesselDto - DTO class representing existing vessel.\n      - model\n        - Vessel.java - @Entity model class that represents existing vessel in database.\n      - repository\n        - VesselRepository - interface that implements JpaRepository to work with database.\n      - service\n        - VesselService.java - @Service java class for VesselController to perform all logic and call database operations:\n          - VesselDto createVessel(CreateVesselRequestDto requestDto) - create new vessel in database\n          - VesselDto updateVessel(UUID id, UpdateVesselRequestDto updateRequestDto) - update existing vessel by id\n          - boolean deleteById(UUID id) - delete vessel by id\n          - VesselDto getVesselById(UUID vesselId) - get vessel by id from database\n          - List\u003cVesselDto\u003e getVesselsByColor(String color) - get vessels filtered by color\n          - List\u003cVesselDto\u003e getAllVessels() - get all vessels without any filters\n    \n  - test/java/dem/llc/vesselmanagementService\n    - VesselManagementControllerTest.java - full REST API integration tests with Testcontainers and Rest Assured\n    - VesselManagementRepositoryTest.java - database repository tests with TestContainers\n\n- build.gradle.kts - Gradle Kotlin DSL build config file\n- docker-compose.yml - Docker Compose configuration file to run containers and set up them.\n- Dockerfile - Docker image build configuration file \n- init.sql - Database schema initializer file\n- runProject.sh - Bash script file for rebuilding project and deploying to Docker Compose\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemaev%2Fvesselmanagementservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemaev%2Fvesselmanagementservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemaev%2Fvesselmanagementservice/lists"}