Code Monkey home page Code Monkey logo

wf-refactoring's Introduction

WF-refactoring

SpringBoot ,JPA를 사용한 리팩토링 프로젝트

WorkFlow

WorkFlow(전자 결재) 시스템 개발

사용 기술

  • Back-end : Java, Spring Boot, JPA, Spring MVC,Gradle,Junit5, Spring Security, JWT, QueryDSL
  • DB : MySQL, Redis
  • Developer Tools : intelliJ / MySQL Workbench
  • AWS-EC2, Docker
  • PostMan , SourceTree, Swagger

브랜치 관리 :git-flow

master : 배포용 브랜치
develop : 기능 merge용 브랜치
feature : 기능 개발 브랜치
release : QA 브랜치
hotfix : master 브랜치로 배포 후 수정 브랜치

Docker를 활용한 배포 환경 구성

image

객체 참조로 인한 결합도 상승을 줄이기 위해 약한 결합 맺기

  • 객체 참조

    • 연관 관계 설정 기준 : 함께 생성되고 함께 삭제되는 객체들
      ex) document - attachment (attachment 객체의 생애 주기가 document에 종속적, 양방향 관계)
  • id참조

    • 기준 외 객체들은 객체 간 연관 관계 없이 id 참조로 약한 결합
      ex) employee - dept : id를 이용해 접근(dept는 약한 결합도 탐색인 repository를 통한 탐색)

    image

멀티 모듈 설계

multi-module 수정
api-module : Controller, Exception , DTO(Request)
domain-module :Service, DTO(Request, Response) Exception
data- module : Entity, Repository
common-moudule : Enums
jwt-module : Service,DTO,Config,Security,Exception
Redis-module : config

설계이야기 https://gogowlgml.tistory.com/88

Swaager를 통한 RESTful API

📃 http://43.201.67.76:9000/swagger-ui.html

wf-refactoring's People

Contributors

cjihee avatar

Watchers

 avatar

Forkers

kimseolhee

wf-refactoring's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.