dpplanner / app

1 stars 0 forks source link

프로젝트 구조 개선 #163

Open iimpala opened 1 month ago

iimpala commented 1 month ago

Goal

iimpala commented 1 month ago

프로젝트 예상 구조

lib/
├ config/
│   ├ bindings/
│   │   ├ initial_binding.dart
│   │   ├ post_binding.dart
│   │   ├ reservation_binding.dart
│   │   └ ...
│   ├ routes/
│   │   ├ app_pages.dart
│   │   └ app_routes.dart
│   ├ theme/
│   │   ├ app_theme.dart
│   │   ├ text_styles.dart
│   │   ├ colors.dart
│   │   └ spacing.dart
│   ├ const/
│   │   ├ app_constants.dart
│   │   ├ assets.dart
│   │   └ env.dart
│   ├ languages/
│   │   ├ en_us.dart
│   │   ├ ko_kr.dart
│   │   └ ...
│   └ dependencies/
│   │   ├ network_dependency.dart
│   │   ├ storage_dependency.dart
│   │   └ ...
│   └ ...
├ app/
│   ├ data/
│   │   ├ provider/
│   │   │   ├ api/
│   │   │   │   ├ interceptors/
│   │   │   │   │   └ auth_interceptor.dart
│   │   │   │   ├ base_api_provider.dart
│   │   │   │   ├ post_api_provider.dart
│   │   │   │   ├ comment_api_provider.dart
│   │   │   │   └ ...
│   │   │   ├ storage/
│   │   │   │   ├ user_info_storage_provider.dart
│   │   │   │   └ ...
│   │   │   └ ...
│   │   ├ repository/
│   │   │   ├ post_repository.dart
│   │   │   ├ user_repository.dart
│   │   │   ├ comment_repository.dart
│   │   │   └ ...
│   │   ├ model/
│   │   │   ├ post/
│   │   │   │   ├ post_model.dart
│   │   │   │   └ ...
│   │   │   ├ clubmember/
│   │   │   │   ├ club_member_model.dart
│   │   │   │   ├ club_role.dart
│   │   │   │   ├ club_authority.dart
│   │   │   │   └ ...
│   │   │   └ ...
│   ├ ui/
│   │   ├ base/
│   │   │   ├ base_page.dart
│   │   │   ├ base_snackbar.dart
│   │   │   ├ base_bottom_sheet.dart
│   │   │   ├ base_alert_dialog.dart
│   │   │   ├ base_checkbox.dart
│   │   │   ├ base_textfield.dart
│   │   │   ├ base_button.dart
│   │   │   └ ...
│   │   ├ post/
│   │   │   ├ detail/
│   │   │   │   ├ post_detail_view.dart
│   │   │   │   ├ post_detail_view_model.dart
│   │   │   │   ├ widgets/
│   │   │   │   │   ├ post_content.dart
│   │   │   │   │   ├ comment_block.dart
│   │   │   │   │   └ ...
│   │   │   ├ list/
│   │   │   ├ add/
│   │   │   ├ modify/
│   │   │   ├ common/
│   │   │   │   ├ post_ member_profile.dart
│   │   │   │   ├ post_more_bottom_sheet.dart
│   │   │   │   └ ...
│   │   │   └ ...
│   │   ├ reservation/
│   │   └ ...
│   ├ utils/
│   │   ├ date_format_utils.dart
│   │   └...
│   └...
└...