환경 초기화 및 벤더 리포지토리 스켈레톤 도입

This commit is contained in:
JiWoong Sul
2025-09-22 17:38:51 +09:00
commit 5c9de2594a
171 changed files with 13304 additions and 0 deletions

42
README.md Normal file
View File

@@ -0,0 +1,42 @@
# Superport v2
간단 입·출고 + 결재 시스템(웹) UI.
## 환경 설정
1) 환경 파일 준비 (.env)
루트에 다음 파일을 생성하세요(예시 제공):
- `.env.development` → 개발 환경
- `.env.production` → 운영 환경
`*.example` 파일을 복사하여 값을 채우면 됩니다.
핵심 키:
- `API_BASE_URL` — 백엔드 API 베이스 URL
- `FEATURE_*` — 기능 플래그 (예: `FEATURE_VENDORS_ENABLED`)
2) 의존성 설치
```
flutter pub get
```
3) 개발 실행 (웹)
```
flutter run -d chrome --web-renderer canvaskit --dart-define=ENV=development
```
## 구조
- `lib/core/` — 공통 구성(환경, 네트워크, 라우팅)
- `lib/features/<domain>/` — 기능별 폴더 (clean architecture: domain/data/presentation)
- `lib/widgets/` — 공용 위젯
## 빌드/검증
- `flutter analyze` — 정적 분석
- `flutter test` — 단위/위젯 테스트