CAREBOOL은 AI 기반 화재 예측과 맞춤형 보험 추천을 제공하는 종합 플랫폼입니다. 실시간 화재 위험 정보와 지역별 통계를 기반으로 사용자에게 최적의 화재 예방 솔루션을 제공합니다.
### Frontend    | ### Backend    | ### AI/ML    | ### DevOps    |
carebool.github.io/
├── 📁 api/ # Django 백엔드 API
│ ├── config/ # 프로젝트 설정
│ ├── disasters/ # 재난 관리 모듈
│ ├── insurance/ # 보험 서비스 모듈
│ ├── news/ # 뉴스 크롤링 모듈
│ └── users/ # 사용자 관리 모듈
├── 📁 web/ # 프론트엔드
│ ├── public/ # HTML 페이지
│ ├── src/ # CSS, JS, 이미지
│ └── static/ # 정적 리소스
├── 📁 ai-models/ # AI/ML 모델
│ ├── predict_fire_model.pkl
│ └── predictFireModel.py
├── 📁 data-management/ # 데이터 처리
│ └── 화재통계/
├── 📁 deployment/ # 배포 설정
│ ├── docker/ # Docker 구성
│ ├── nginx/ # 웹서버 설정
│ └── github-actions/ # CI/CD 파이프라인
└── 📄 index.html # 메인 페이지
git clone https://github.com/carebool/carebool.github.io.git
cd carebool.github.io
# Python 내장 서버
python -m http.server 8000
# 또는 Node.js
npx http-server
# 환경 변수 설정
cp .env.example .env
# .env 파일 편집
# Docker Compose 실행
cd deployment/docker
docker-compose up -d
# API 개발
cd api
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
# AI 모델 개발
cd ai-models
pip install -r requirements.txt
python predictFireModel.py
CAREBOOL은 프론트엔드와 백엔드를 분리하여 배포합니다.
main
브랜치 push 시 GitHub Actions로 자동 배포📖 상세한 배포 가이드는 DEPLOYMENT.md를 참조하세요.
Method | Endpoint | Description |
---|---|---|
GET | /api/disasters/ |
재난 정보 목록 |
GET | /api/insurance/calculate/ |
보험료 계산 |
GET | /api/news/ |
최신 뉴스 목록 |
POST | /api/users/register/ |
사용자 등록 |
GET | /api/ai/predict/ |
화재 위험도 예측 |
자세한 API 문서는 여기를 참조하세요.
# Backend 테스트
cd api
python manage.py test
# 코드 품질 검사
flake8 .
black --check .
# 테스트 커버리지
coverage run --source='.' manage.py test
coverage report
CAREBOOL은 오픈소스 프로젝트입니다. 기여를 환영합니다!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)이 프로젝트는 MIT 라이센스 하에 배포됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.
공모자들 팀장 및 프로젝트 관리 : 강성룡 프론트엔드 : 김성재, 김태식, 이나리 백엔드 : 강성룡, 안수현 contact@carebool.com |
화재 예방과 안전한 사회를 위해 노력하는 모든 분들께 감사드립니다.
Made with ❤️ by 공모자들
© 2025 CAREBOOL. All rights reserved.