{"id":16119634,"url":"https://github.com/piomin/sample-spring-modulith","last_synced_at":"2025-04-06T02:07:18.912Z","repository":{"id":199583998,"uuid":"702952136","full_name":"piomin/sample-spring-modulith","owner":"piomin","description":"The demo repository showing modulith architecture with Spring Boot and Spring Modulith  ","archived":false,"fork":false,"pushed_at":"2025-03-23T22:38:09.000Z","size":64,"stargazers_count":94,"open_issues_count":1,"forks_count":26,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T01:09:16.351Z","etag":null,"topics":["modulith","spring-boot","spring-data-jpa","spring-modules"],"latest_commit_sha":null,"homepage":"https://piotrminkowski.com/","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/piomin.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":"2023-10-10T10:14:32.000Z","updated_at":"2025-03-23T22:38:12.000Z","dependencies_parsed_at":"2023-12-03T05:25:00.889Z","dependency_job_id":"92a2d6c4-16be-4bff-b6fc-aa645f7f5d79","html_url":"https://github.com/piomin/sample-spring-modulith","commit_stats":{"total_commits":63,"total_committers":3,"mean_commits":21.0,"dds":"0.23809523809523814","last_synced_commit":"2f88684bff87cd9a494cf92fac645e1aada3042d"},"previous_names":["piomin/sample-spring-modulith"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-modulith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-modulith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-modulith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-modulith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piomin","download_url":"https://codeload.github.com/piomin/sample-spring-modulith/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423512,"owners_count":20936626,"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":["modulith","spring-boot","spring-data-jpa","spring-modules"],"created_at":"2024-10-09T20:54:40.138Z","updated_at":"2025-04-06T02:07:18.885Z","avatar_url":"https://github.com/piomin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modulith with Spring Boot Demo Project [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social\u0026logo=twitter\u0026label=Follow%20Me)](https://twitter.com/piotr_minkowski)\n\n[![CircleCI](https://circleci.com/gh/piomin/sample-spring-modulith.svg?style=svg)](https://circleci.com/gh/piomin/sample-spring-modulith)\n\n[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-black.svg)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-modulith)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-modulith\u0026metric=bugs)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-modulith)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-modulith\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-modulith)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-modulith\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-modulith)\n\nIn this project, I'm demonstrating how to implement the modulith app using Spring support. Here are the [docs](https://docs.spring.io/spring-modulith) about the project. \n\n1. How to organize the SpringBoot in modular way and use Spring Modulith to simplify and verify the app structure: [Guide to Modulith with Spring Boot](https://piotrminkowski.com/2023/10/13/guide-to-modulith-with-spring-boot/)\n\n## Architecture\n\nOur sample app is divided into 4 logical modules:\n- **department** - manage `Department` entity\n- **employee** - manage `Employee` entity\n- **gateway** - expose internal modules over REST API\n- **organization** - manage `Organization` entity\n\nThe following picture illustrates the architecture described above.\n\n\u003cimg src=\"https://i0.wp.com/piotrminkowski.com/wp-content/uploads/2023/10/Screenshot-2023-10-11-at-13.33.13.png\" title=\"Architecture\"\u003e\u003cbr/\u003e\n\n## Running\n\nYou need to have JDK17+ and Maven. Also run Docker on your machine to enable Zipkin container.\nThen just run the app with the following command:\n```shell\n$ mvn spring-boot:run\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fsample-spring-modulith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiomin%2Fsample-spring-modulith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fsample-spring-modulith/lists"}