Initial commit: Korean Traditional Medicine Inventory Management System
This project is a comprehensive web-based inventory and dispensing management system for Korean traditional medicine clinics and pharmacies. Main Features: - Patient Management: Registration, search, and treatment history tracking - Purchase Management: Bulk import via Excel files, supplier tracking, lot-based inventory - Formula Management: Reusable prescription templates with customizable herb compositions - Dispensing Management: Automated dispensing with FIFO stock deduction and cost calculation - Inventory Tracking: Real-time stock status, lot-level tracking with origin and pricing Technical Stack: - Backend: Flask 3.1.2 (Python Web Framework) - Database: SQLite with comprehensive schema for inventory, patients, formulas, and dispensing - Frontend: Bootstrap 5.1.3 + jQuery for responsive web interface - Excel Processing: pandas + openpyxl for bulk data import Key Concepts: - 1 Je (제) = 20 Cheop (첩) = 30 Pouches (파우치) - Lot Management: Separate tracking by purchase date with origin country and unit price - FIFO Deduction: Oldest inventory consumed first - Cost Tracking: Accurate cost calculation based on lot-level pricing Project Structure: - app.py: Main Flask application with REST API endpoints - database/schema.sql: Complete database schema - templates/: HTML templates for web interface - static/: CSS and JavaScript assets - README.md: Comprehensive documentation in Korean 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
68
.gitignore
vendored
Normal file
68
.gitignore
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
# Python
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
*.so
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# Virtual Environment
|
||||
venv/
|
||||
ENV/
|
||||
env/
|
||||
.venv
|
||||
|
||||
# Flask
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Database
|
||||
*.db
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
|
||||
# IDE
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
.DS_Store
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
|
||||
# Environment variables
|
||||
.env
|
||||
.env.local
|
||||
|
||||
# Uploads (if contains sensitive data)
|
||||
# uploads/*
|
||||
# !uploads/.gitkeep
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
|
||||
# Excel temporary files
|
||||
~$*.xlsx
|
||||
~$*.xls
|
||||
Reference in New Issue
Block a user