SpringBlog from Millky
SpringBoot 3 base Open-source Blog
λ°ν€(millky.com)μμ λΈλ‘κ·Έ λΆλΆμ λ½μ(?) μ€νμμ€ ν©λλ€.
SpringBoot3 + Spring Data JPA + Spring Security + ...
λ¨μ§ μ½λλ§ κ³΅κ°νλ κ²μ΄ μλλΌ. κ°λ° κ³Όμ μ κ°μ΄ 곡κ°νλ € ν©λλ€.
LIVE DEMO
- http://blog.millky.com/post/list
- μ 곡νλ APIλ₯Ό νμΈν΄ 보μΈμ~ http://blog.millky.com/swagger-ui/index.html#/tag-rest-controller/tagCloud
κ°λ°λ κΈ°λ₯
- κΈ°λ³Έμ μΈ λΈλ‘κ·Έ λ·°
- νμ΄μ€λΆ, κ΅¬κΈ μμ λ‘κ·ΈμΈ(κΉνλ±λ κ°λ¨νκ² μΆκ° κ°λ₯)
- κΈμ°κΈ°, μμ , μμ . νμ΄μ§
- λκΈμ°κΈ°, μμ
- μΉ΄ν κ³ λ¦¬
- νκ·Έ
- RSS λ·°
- κ°λ¨ν κ²μ(DB)
μΆκ° μμ
- μΆκ°μ μΈ μμ λ‘κ·ΈμΈ λ° κΈ°λ³Έ λ‘κ·ΈμΈ
- λκΈ μμ
- κ΅μ ν(i18n λ€κ΅μ΄ μ§μ)
- κΈ°ν DB μ§μ
- κ°λ¨ν μΊμ± (EHCache ?)
Quick Start
μ€μΉλμ΄ μμ΄μΌ ν κ²
- JDK 17 μ΄μ
- Maven
- Git
git clone https://github.com/origoni/Spring-Blog
cd Spring-Blog
mvn spring-boot:run
- visit http://localhost:8080/
Tested
- STS(Eclipse) ??
- IntelliJ IDEA 2022.3
//@formatter:off & //@formatter:on
eclipse : Preferences -> Java -> Code style -> Formatter -> Edit... (or New...) > Off/On Tags
intellij : Preferences -> Editor -> Code Style > Formatter Control > Enable formatter markers in comments
κ΄λ ¨ λ§ν¬
Project Convention
Package Structure
com.millky.blog
βββ application
βββ aop
βββ configuration
βββ utility
βββ domain
βββ model
βββ command
βββ entity
βββ exception
βββ repository
βββ service
βββ infrastructure
βββ dao
βββ presentation
βββ controller
βββ rest
βββ web
βββ support
βββ result
Environment
- Java version: 17
- Spring Boot version: 3.0.1
- Default Encoding: UTF-8
- Default SCM : git
νλ‘μ νΈ μ€μ
- STS μ€μΉ -> http://millky.com/@origoni/post/1100
- Lombok μ€μΉ -> https://projectlombok.org/ (STSμ μ€μΉ : http://millky.com/@origoni/post/1164)
- GitHub λ€μ΄ -> http://millky.com/@origoni/post/1145 (OSX : http://millky.com/@origoni/post/1140)