[Spring Boot] spring boot migration of blog service

adam adam·2022년 9월 9일
0

spring boot migration

Spring framework 기반 블로그앱을 spring boot로 재구성

목표

  1. 개발환경 이해와 구조란 무엇인지 더 깊이 생각
  2. 배포를 염두하여 리눅스환경에 대한 이해강화
  3. 전환 과정을 통한 spring 개념 학습
  4. rest api 학습을 한 http method 개념학습
  5. Jsp => thymeleaf전환을 통패 html css js 복습 및 적용
  6. Mybatis => jpa 전환 DB접근 및 활용능력 배양
  7. spring boot 활용능력
  8. 지속적인 유지보수 및 개선 과정을 통한 DB 활용능력 증가

spring framework 에서 spring boot 마이그레이션

AS-IS => TO-BE

front : jsp with tiles(3.0.7), jquery
=> thymeleaf - vanillaJS

back : java 1.8 and spring framework(4.3.18)
=> java 11 and spring boot

persistence framework : mybatis(3.5.9)
=> jpa

database : local oracle 18c
=> H2, ATP oracle 19c ( remote cloud database )

Application Architecture : MVC by layer
=> MVC by feature
=> MSA

IDE : eclipse with plugin of Spring Tools 3(3.9.14)
=> vscode and Intellij community

CICD : github and git
=> github and git
=> gitlab and git

sample 화면

index 화면

sample CRUD

read all sample(articles)

add sample(article)

read sample(article)

update sample(=article)

delete sample(=article)

앞으로 샘플코드를 바탕으로 기존 eveadam-blog 를 TO-BE조건으로 바꾸고, 좀더 구조와 운영체제에 집중할 예정

그리고, 태그를 사용해서 블로그와 관련된 통계지표나 오픈API 둘러보면서 통계서비스, 구글차트, 등으로 만들어봐야징

css는 하고는 싶은데, 일단 최소한으로 하게

github

https://github.com/myMSA

추가적으로 해볼만한 기능

  1. 스프링 시큐리티를 통한 회원가입서비스
  2. application 아키텍쳐의 변환
  3. 서비스의 MSA화 1단계 ; 도커, aws
  4. 서비스의 MSA화 2단계 ; api gateway
  5. 댓글과 대댓글 ; 무한스크롤과 REST, s3연동

0개의 댓글