728x90

Flutter 츠누봇 [Pull Request] :: clean & 3-layered architecture 적용

https://github.com/cnu-bot/cnubot-client-app/pull/9

 

refactor: apply clean & 3-layered architecture by CheolheeLee0 · Pull Request #9 · cnu-bot/cnubot-client-app

Describe your changes refactor: apply clean & 3-layered architecture docs: Add Architecture info, freezed command API 연동 테스트 완료했습니다 dioHelper - provider - repository - controller - GetView ...

github.com

 

1. 요구사항

- Project resetting

-folder structure refactoring

- http => dio

- color palette

- font typography


2. 작업 내용

README.md 파일 업데이트

clean & 3-layered 아키텍쳐 적용

dioHelper - provider - repository - controller - GetView 순서로 API에서 가져온 데이터 표시

 

.env 파일 추가

env 파일은 API서버 IP, Service key 같은 민감한 정보를 저장합니다. (.gitignore에 .env추가 완료)

 
 


3. 코드리뷰

- 폴더 오타 수정

- ios platform 버전 12.0으로 수정 (Podfile)

- 파일명 단수로 통일

- 절대경로로 통일

- 필요없는 코드 제거

- dioHelper 추가

- http 의존성 제거 (dio로 대체)

- DI (의존성 주입) 

- CI 오류 수정



4. Merge

+ Recent posts