{"id":22309659,"url":"https://github.com/nesoy/springboot-starter-example","last_synced_at":"2025-08-23T13:11:16.821Z","repository":{"id":108936558,"uuid":"273863008","full_name":"NESOY/springboot-starter-example","owner":"NESOY","description":"🌺 Introducing Springboot-starter","archived":false,"fork":false,"pushed_at":"2020-07-09T10:44:00.000Z","size":765,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T21:09:41.041Z","etag":null,"topics":["example","spring"],"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/NESOY.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":"2020-06-21T08:18:12.000Z","updated_at":"2020-07-09T10:44:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"bedb71d9-35cd-4119-9632-aeca4cd5bd5c","html_url":"https://github.com/NESOY/springboot-starter-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NESOY/springboot-starter-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fspringboot-starter-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fspringboot-starter-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fspringboot-starter-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fspringboot-starter-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NESOY","download_url":"https://codeload.github.com/NESOY/springboot-starter-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2Fspringboot-starter-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271749001,"owners_count":24814102,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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":["example","spring"],"created_at":"2024-12-03T20:44:02.924Z","updated_at":"2025-08-23T13:11:16.625Z","avatar_url":"https://github.com/NESOY.png","language":"Java","readme":"## Spring-boot-Starter Tutorial\n#### Goals\n- Springboot Starter를 직접 만들면서 어떻게 구성되어 있는지 이해해봅시다.\n\n## Let's make custom-springboot-starter\n#### 1. Create Multi Moudle Project\n- springboot-starter의 예제를 만들기 위해선 총 3가지의 모듈이 필요합니다.\n    - 자동 환경설정 모듈\n    - 자동 환경설정을 포함한 모듈\n    - Starter를 테스트 하려는 Web Application\n- [springboot-starter 모듈의 이름을 작성하기 전에 주의해야 할 점들이 있습니다.](https://docs.spring.io/autorepo/docs/spring-boot/2.0.0.M3/reference/html/boot-features-developing-auto-configuration.html#boot-features-custom-starter-naming)\n    - Spring에서는 모듈의 이름을 `spring-boot`로 시작하지 않을 것을 권하고 있습니다.\n    - 아래와 같이 앞에 다른 이름을 붙이기를 권하고 있습니다.\n        - `nesoy-spring-boot-autoconfigure`\n        - `nesoy-spring-boot-starter`\n- 멀티 모듈로 프로젝트 구성하기\n    - [Maven으로 구성해보기](https://taetaetae.github.io/2020/01/19/spring-boot-maven-multi-module/)\n    - [Gradle로 구성해보기](https://jojoldu.tistory.com/123)\n\n- Gradle로 구성하면 다음과 같은 모습을 볼 수 있습니다.\n```shell script\n.\n├── build.gradle\n├── nesoy-spring-boot-autoconfigure -\u003e 자동 환경설정을 위한 모듈\n│   ├── build.gradle\n│   └── src\n├── nesoy-spring-boot-starter-example -\u003e 자동 환경설정을 포함한 모듈\n│   └── build.gradle\n├── nesoy-spring-boot-starter-web -\u003e Starter 테스트를 위한 어플리케이션\n│   ├── build.gradle\n│   └── src\n└── settings.gradle\n```\n\n#### 2. Setting Auto-Configure Module 🐳\n- Springboot의 자동 설정을 사용하기 위해 아래의 의존성을 추가해줍니다.\n    - [Springboot-AutoConfigure](https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-autoconfigure)\n\n```shell script\n# gradle\ncompile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: '2.3.1.RELEASE'\n\n# Maven\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n    \u003cartifactId\u003espring-boot-autoconfigure\u003c/artifactId\u003e\n    \u003cversion\u003e2.3.1.RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n- Starter에 필요한 설정파일을 만들어봅시다.\n    - [@ConfigurationProperties](https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/context/properties/ConfigurationProperties.html)\n    - [Reference](https://velog.io/@max9106/Spring-Boot-%EC%99%B8%EB%B6%80%EC%84%A4%EC%A0%95-4xk69h8o50)\n```java\n@ConfigurationProperties(prefix = \"nesoy\")\npublic class NesoyProperties {\n\n    private String log;\n\n    public String getLog() {\n        return log;\n    }\n\n    public void setLog(String log) {\n        this.log = log;\n    }\n}\n```\n\n## 자동 환경설정을 포함한 모듈 셋팅\n\n## 우리가 만든 Starter 사용해보기\n\n\n## Reference\n- \u003chttps://forward.nhn.com/2019/seoul/hands-on-labs/java.spring-boot-custom-starter/index.html\u003e\n- \u003chttps://supawer0728.github.io/2018/03/15/create-spring-boot-starter/\u003e\n- \u003chttp://blog.kingbbode.com/posts/spring-conditional\u003e\n- \u003chttps://cheese10yun.github.io/immutable-properties/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesoy%2Fspringboot-starter-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnesoy%2Fspringboot-starter-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesoy%2Fspringboot-starter-example/lists"}