TCG Vault - Trading Card Game Collection Management with OCR Scanning
Find a file
2025-07-23 08:29:39 -05:00
.next Convert from React to Next.js for proper API route support 2025-07-23 08:25:58 -05:00
api Move API routes to pages/api/ for proper Next.js structure 2025-07-23 08:27:14 -05:00
backend 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
pages Add simple test API 2025-07-23 08:29:09 -05:00
public 🚀 Convert to mobile-first PWA with purple theme 2025-07-22 18:52:39 -05:00
scripts Add Disney Lorcana support via Lorcast API - Complete integration with search, browse, and database population 2025-07-22 20:17:47 -05:00
src Convert from React to Next.js for proper API route support 2025-07-23 08:25:58 -05:00
.gitignore Add Vercel Analytics and Speed Insights for comprehensive tracking 2025-07-21 14:34:34 -05:00
.npmrc Fix build compatibility issues 2025-07-22 10:32:15 -05:00
ALL-VERCEL-SETUP.md 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
CARD_DATA_SOURCES.md Add Disney Lorcana support via Lorcast API - Complete integration with search, browse, and database population 2025-07-22 20:17:47 -05:00
deploy-vercel-all.sh 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
deploy-vercel.sh 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
deploy.sh 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
deployment-guide.md 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
DEPLOYMENT.md 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
DUAL_VIEW_SYSTEM.md 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
GAME_FEATURES.md 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
GRADIENT_BORDERS_GUIDE.md 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
next-env.d.ts Convert from React to Next.js for proper API route support 2025-07-23 08:25:58 -05:00
next.config.js Convert from React to Next.js for proper API route support 2025-07-23 08:25:58 -05:00
package-lock.json Convert from React to Next.js for proper API route support 2025-07-23 08:25:58 -05:00
package.json Convert from React to Next.js for proper API route support 2025-07-23 08:25:58 -05:00
postcss.config.js 🚀 TCG Vault - Complete All-Vercel Setup 2025-07-21 13:53:06 -05:00
README.md 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00
tailwind.config.js 🚀 Convert to mobile-first PWA with purple theme 2025-07-22 18:52:39 -05:00
tsconfig.json Convert from React to Next.js for proper API route support 2025-07-23 08:25:58 -05:00
vercel.json Update Vercel config for Next.js app 2025-07-23 08:29:39 -05:00
VISUAL_EFFECTS_GUIDE.md 🚀 Consolidate repositories - Complete TCG Vault with backend, docs, and Vercel setup 2025-07-21 14:04:48 -05:00

TCG Vault - Trading Card Collection Manager

A comprehensive trading card database system with OCR scanning, AI-powered deck building, and real-time pricing.

Features

🃏 Complete Card Database

  • Store and organize your entire trading card collection
  • Track card conditions, quantities, and locations
  • Support for multiple TCG formats (Magic: The Gathering, Pokémon, Yu-Gi-Oh!, etc.)

📸 OCR Card Scanning

  • Scan physical cards using your camera or smartphone
  • Automatic card recognition and data extraction
  • Bulk scanning support for efficient collection entry

🤖 AI-Powered Features

  • Intelligent deck building recommendations based on your collection
  • Natural language queries for searching your database
  • Meta analysis and card synergy suggestions

💰 Real-time Pricing

  • Live price tracking from multiple sources
  • Collection valuation and price alerts
  • Historical price charts and market trends

🎨 Modern Web Interface

  • Responsive design for desktop and mobile
  • Drag-and-drop deck building
  • Advanced filtering and search capabilities

Tech Stack

  • Backend: Python FastAPI with SQLAlchemy ORM
  • Database: SQLite (production-ready, can scale to PostgreSQL)
  • Frontend: React with TypeScript and Tailwind CSS
  • OCR: OpenCV + Tesseract with cloud vision APIs
  • AI: OpenAI GPT integration for intelligent features
  • Pricing: TCGPlayer and MTGJSON API integration

Quick Start

  1. Backend Setup:

    cd backend
    pip install -r requirements.txt
    uvicorn main:app --reload
    
  2. Frontend Setup:

    cd frontend
    npm install
    npm start
    
  3. Database Initialize:

    python backend/init_db.py
    

Project Structure

tcg-vault/
├── backend/           # FastAPI backend
│   ├── app/
│   │   ├── models/    # SQLAlchemy models
│   │   ├── routers/   # API route handlers
│   │   ├── services/  # Business logic
│   │   └── utils/     # Utilities (OCR, AI, pricing)
│   ├── tests/         # Backend tests
│   └── requirements.txt
├── frontend/          # React frontend
│   ├── src/
│   │   ├── components/
│   │   ├── pages/
│   │   ├── services/  # API clients
│   │   └── utils/
│   └── package.json
├── docs/             # Documentation
└── docker-compose.yml # Container orchestration

Development

This project is designed for easy development and deployment. See the individual README files in backend/ and frontend/ for detailed setup instructions.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

License

MIT License - feel free to use this project for your own collection management needs!