{"id":26745194,"url":"https://github.com/charlybutar21/clean-architecture","last_synced_at":"2026-04-20T19:02:37.842Z","repository":{"id":282280142,"uuid":"948068165","full_name":"charlybutar21/clean-architecture","owner":"charlybutar21","description":"This project follows the Clean Architecture principles, ensuring a clear separation of concerns and maintainability","archived":false,"fork":false,"pushed_at":"2025-03-27T07:53:56.000Z","size":539,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T08:37:46.470Z","etag":null,"topics":["clean-architecture","flywaydb","kafka","modulith","restful-api","spring-boot","spring-jpa","spring-mvc","spring-validation","unittest"],"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/charlybutar21.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-13T17:38:22.000Z","updated_at":"2025-03-27T07:53:59.000Z","dependencies_parsed_at":"2025-03-13T18:52:51.602Z","dependency_job_id":null,"html_url":"https://github.com/charlybutar21/clean-architecture","commit_stats":null,"previous_names":["charlybutar21/clean-architecture"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/charlybutar21/clean-architecture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlybutar21%2Fclean-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlybutar21%2Fclean-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlybutar21%2Fclean-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlybutar21%2Fclean-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlybutar21","download_url":"https://codeload.github.com/charlybutar21/clean-architecture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlybutar21%2Fclean-architecture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32061251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":["clean-architecture","flywaydb","kafka","modulith","restful-api","spring-boot","spring-jpa","spring-mvc","spring-validation","unittest"],"created_at":"2025-03-28T08:15:49.983Z","updated_at":"2026-04-20T19:02:37.821Z","avatar_url":"https://github.com/charlybutar21.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clean Architecture\n\n## Overview\nThis project follows the Clean Architecture principles, ensuring a clear separation of concerns and maintainability. It is built using Java 17 and Spring Boot 3.4.3, and integrates Kafka, MySQL, FlywayDB, JPA, ModelMapper, Lombok, Spring MVC, and Docker.\n![img.png](assets/images/ca-flow.png)\n\n## Technologies Used\n- Java 17 \u0026 Spring Boot 3.4.3\n- Golang 1.20\n\n## Clean Architecture Layers\nClean Architecture organizes the project into four main layers, ensuring separation of concerns and flexibility:\n![img.png](assets/images/ca-layer.png)\n### 1. Enterprise Business Rules (Entities)\n- This layer contains core business logic and domain entities.\n- It is independent of any frameworks, databases, or external dependencies.\n\n### 2. Application Business Rules (Use Cases)\n- Contains application-specific business logic (e.g., services and use cases).\n- Implements use case logic without being dependent on external frameworks.\n\n### 3. Interface Adapters (Gateways, Controllers, and Presenters)\n- Translates data between the application and external sources (APIs, databases, etc.).\n- Contains Controllers (handling HTTP requests) and Gateways (handling data persistence).\n\n### 4. Frameworks \u0026 Drivers (Infrastructure Layer)\n- Implements framework-specific details such as database connections, messaging queues, and web frameworks.\n- Includes Spring Boot, JPA, Kafka, Flyway, and Docker.\n\n## Getting Started\n### Prerequisites\n- Install Java 17, Docker, and Docker Compose\n- Golang 1.20\n- Install MySQL 8.0 (or use Docker)\n\n## Conclusion\nThis project applies Clean Architecture principles to create a modular, scalable, and maintainable application. It ensures flexibility and separation of concerns, making it easy to test, extend, and integrate with new technologies.\n\nFor contributions or inquiries, feel free to create a pull request or open an issue.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlybutar21%2Fclean-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlybutar21%2Fclean-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlybutar21%2Fclean-architecture/lists"}