Skip to content

Loopers-dev-lab/loopers-spring-boot-java-template

Repository files navigation

Loopers Template (Spring + Java)

Loopers μ—μ„œ μ œκ³΅ν•˜λŠ” μŠ€ν”„λ§ μžλ°” ν…œν”Œλ¦Ώ ν”„λ‘œμ νŠΈμž…λ‹ˆλ‹€.

Getting Started

ν˜„μž¬ ν”„λ‘œμ νŠΈ μ•ˆμ •μ„± 및 μœ μ§€λ³΄μˆ˜μ„± 등을 μœ„ν•΄ μ•„λž˜μ™€ 같은 μž₯치λ₯Ό μš΄μš©ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. 이에 μ•„λž˜ λͺ…λ Ήμ–΄λ₯Ό 톡해 ν”„λ‘œμ νŠΈμ˜ κΈ°λ°˜μ„ μ„€μΉ˜ν•΄μ£Όμ„Έμš”.

Environment

local ν”„λ‘œν•„λ‘œ λ™μž‘ν•  수 μžˆλ„λ‘, ν•„μš” 인프라λ₯Ό docker-compose 둜 μ œκ³΅ν•©λ‹ˆλ‹€.

docker-compose -f ./docker/infra-compose.yml up

Monitoring

local ν™˜κ²½μ—μ„œ λͺ¨λ‹ˆν„°λ§μ„ ν•  수 μžˆλ„λ‘, docker-compose λ₯Ό 톡해 prometheus 와 grafana λ₯Ό μ œκ³΅ν•©λ‹ˆλ‹€.

μ• ν”Œλ¦¬μΌ€μ΄μ…˜ μ‹€ν–‰ 이후, http://localhost:3000 둜 접속해, admin/admin κ³„μ •μœΌλ‘œ λ‘œκ·ΈμΈν•˜μ—¬ ν™•μΈν•˜μ‹€ 수 μžˆμŠ΅λ‹ˆλ‹€.

docker-compose -f ./docker/monitoring-compose.yml up

About Multi-Module Project

λ³Έ ν”„λ‘œμ νŠΈλŠ” λ©€ν‹° λͺ¨λ“ˆ ν”„λ‘œμ νŠΈλ‘œ κ΅¬μ„±λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€. 각 λͺ¨λ“ˆμ˜ μœ„κ³„ 및 역할을 λΆ„λͺ…νžˆ ν•˜κ³ , μ•„λž˜μ™€ 같은 κ·œμΉ™μ„ μ μš©ν•©λ‹ˆλ‹€.

  • apps : 각 λͺ¨λ“ˆμ€ μ‹€ν–‰κ°€λŠ₯ν•œ SpringBootApplication 을 μ˜λ―Έν•©λ‹ˆλ‹€.
  • modules : νŠΉμ • κ΅¬ν˜„μ΄λ‚˜ 도메인에 μ˜μ‘΄μ μ΄μ§€ μ•Šκ³ , reusable ν•œ configuration 을 μ›μΉ™μœΌλ‘œ ν•©λ‹ˆλ‹€.
  • supports : logging, monitoring κ³Ό 같이 뢀가적인 κΈ°λŠ₯을 μ§€μ›ν•˜λŠ” add-on λͺ¨λ“ˆμž…λ‹ˆλ‹€.
Root
β”œβ”€β”€ apps ( spring-applications )
β”‚   β”œβ”€β”€ πŸ“¦ commerce-api
β”‚   β”œβ”€β”€ πŸ“¦ commerce-batch
β”‚   └── πŸ“¦ commerce-streamer
β”œβ”€β”€ modules ( reusable-configurations )
β”‚   β”œβ”€β”€ πŸ“¦ jpa
β”‚   β”œβ”€β”€ πŸ“¦ redis
β”‚   └── πŸ“¦ kafka
└── supports ( add-ons )
    β”œβ”€β”€ πŸ“¦ jackson
    β”œβ”€β”€ πŸ“¦ monitoring
    └── πŸ“¦ logging

About

Loopers Spring Boot Template for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages