Skip to content

Blind-App-Development-Contest/full-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

full-app

기술 μŠ€νƒ

λΆ„μ•Ό 기술 μŠ€νƒ
λͺ¨λ°”일 μ•± Flutter (Android / iOS)
객체 인식 YOLOv8 (Python)
깊이 μΆ”μ • FastDepth
μŒμ„± 인식 Google Speech-to-Text
λͺ…λ Ήμ–΄ 해석 GPT-4 API
지도 μ„œλΉ„μŠ€ Google Maps API
μŒμ„± 좜λ ₯ Google Text-to-Speech (TTS)
슀트리밍 처리 Google ML Kit (μ˜μƒ ν”„λ ˆμž„ μ‹€μ‹œκ°„ 처리)
λ°±μ—”λ“œ FastAPI
λ°μ΄ν„°λ² μ΄μŠ€ PostgreSQL
배포 ν™˜κ²½ AWS (EC2, RDS λ“±)

디렉토리 ꡬ쑰

FULL-APP/ β”œβ”€β”€ .github/ # GitHub Actions (CI λ“± μžλ™ν™”) β”‚ β”œβ”€β”€ backend/ # FastAPI λ°±μ—”λ“œ β”‚ β”œβ”€β”€ main.py # FastAPI μ§„μž…μ  β”‚ β”œβ”€β”€ start.sh # macOS/Linux μ‹€ν–‰ 슀크립트 β”‚ β”œβ”€β”€ start.ps1 # Windows PowerShell μ‹€ν–‰ 슀크립트 β”‚ β”œβ”€β”€ start.bat # Windows CMD μ‹€ν–‰ 슀크립트 β”‚ β”œβ”€β”€ api/ # λΌμš°ν„° 뢄리 μ˜ˆμ • (vision, command λ“±) β”‚ β”œβ”€β”€ services/ # YOLO, GPT, TTS λ“± λΉ„μ¦ˆλ‹ˆμŠ€ 둜직 β”‚ β”œβ”€β”€ models/ # Pydantic or SQLAlchemy λͺ¨λΈ β”‚ β”œβ”€β”€ db/ # DB μ—°κ²°, μ„Έμ…˜ 관리 β”‚ β”œβ”€β”€ core/ # μ„€μ •, ν™˜κ²½ λ³€μˆ˜ 관리 β”‚ └── tests/ # ν…ŒμŠ€νŠΈ μ½”λ“œ β”‚ β”œβ”€β”€ flutter_app/ # Flutter λͺ¨λ°”일 μ•± β”‚ β”œβ”€β”€ android/ β”‚ β”œβ”€β”€ ios/ β”‚ β”œβ”€β”€ lib/ β”‚ β”‚ β”œβ”€β”€ main.dart # μ•± μ§„μž…μ  β”‚ β”‚ β”œβ”€β”€ screens/ # UI ν™”λ©΄ β”‚ β”‚ β”œβ”€β”€ widgets/ # 곡용 μœ„μ ― β”‚ β”‚ β”œβ”€β”€ services/ # λ°±μ—”λ“œ API 호좜 β”‚ β”‚ β”œβ”€β”€ models/ # 데이터 λͺ¨λΈ β”‚ β”‚ β”œβ”€β”€ core/ # μ•± μ „μ—­ μ„€μ • (μƒμˆ˜, μŠ€νƒ€μΌ, ν™˜κ²½λ³€μˆ˜) β”‚ β”‚ β”œβ”€β”€ routes/ # ν™”λ©΄ μ „ν™˜ 경둜 관리 β”‚ β”‚ └── providers/ # μƒνƒœ 관리 (Provider, Riverpod λ“±) β”‚ β”œβ”€β”€ pubspec.yaml β”‚ └── ... β”‚ β”œβ”€β”€ .gitignore # Git λ¬΄μ‹œ μ„€μ • β”œβ”€β”€ README.md # ν”„λ‘œμ νŠΈ μ„€λͺ…μ„œ β”œβ”€β”€ requirements.txt # FastAPI λ°±μ—”λ“œ μ˜μ‘΄μ„± β”œβ”€β”€ venv/ # Python κ°€μƒν™˜κ²½ (Git에 포함 X)

개발 ν™˜κ²½ μ€€λΉ„

  • Python: 3.10.13 (pyenv ios ꢌμž₯)
  • Flutter: 3.29.3
  • Dart: 3.7.2

κ°€μƒν™˜κ²½ μ„€μ •

(venv/ ν΄λ”λŠ” Git에 ν¬ν•¨λ˜μ§€ μ•ŠμœΌλ©°, 각 μ‚¬μš©μžκ°€ λ‘œμ»¬μ—μ„œ 직접 생성해야 함)

  1. 파이썬 μ„€μΉ˜

  2. κ°€μƒν™˜κ²½ 생성 Windows | python -m venv venv macOS | python3 -m venv venv

  3. κ°€μƒν™˜κ²½ 이동 Windows | backend\venv\Scripts\activate (cmd) | backend\venv\Scripts\Activate.ps1 (powershell) macOS | source backend/venv/bin/activate

  4. μ˜μ‘΄μ„± μ„€μΉ˜ Windows | pip install -r backend/requirements.txt macOS | pip install -r backend/requirements.txt

  5. FastAPI μ„œλ²„ μ‹€ν–‰ Windows | backend\start.bat (cmd) .\backend\start.ps1 (powershell) macOS | ./backend/start.sh

DB μ„€μ •

  1. PostgreSQL μ„€μΉ˜
  1. DB/계정 생성 psql -h localhost -d postgres #(postgresql 접속) CREATE DATABASE appdb; CREATE USER appuser WITH PASSWORD '1111'; GRANT ALL PRIVILEGES ON DATABASE appdb TO appuser;

\c appdb GRANT CREATE, USAGE ON SCHEMA public TO appuser; ALTER SCHEMA public OWNER TO appuser; #(μ‹€νŒ¨ν•΄λ„ 무방) GRANT ALL ON DATABASE appdb TO appuser; \q (postgresql μ’…λ£Œ)

  1. μŠ€ν‚€λ§ˆ 파일 적용 psql -U appuser -h localhost -d appdb -f backend/db/appdb.sql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •