PC Forge is a sophisticated full-stack platform designed to revolutionize the PC building experience. Beyond a simple parts list, it features a Real-time Compatibility Engine that validates every electrical and physical constraint, an AI-powered build assistant, and a multi-vendor price optimization system.
Whether you're a first-time builder or a hardware enthusiast, PC Forge ensures your build is technically sound and economically optimized before you commit to a single purchase.
- Socket & Chipset Validation: Ensures CPU and Motherboard harmony (e.g., LGA1700, AM5).
- Physical Clearance Checks: Validates GPU length vs. Case clearance and RAM height vs. CPU Cooler.
- Power Budgeting: Automatically calculates Total TDP and recommends appropriate PSU wattage with safety margins.
- Form Factor Verification: Matches Motherboards (ATX, mATX, ITX) with compatible Chassis and PSUs.
- Prompt-to-Build: Describe your needs (e.g., "4K video editing for $2000") and receive a curated, compatible component list instantly.
- Context-Aware Suggestions: Recommends alternative parts based on current selections and budget.
- Multi-Vendor Aggregation: Tracks prices across multiple merchants to find the absolute lowest cost for each component.
- One-Click Merchant Routing: Direct links to purchase components from the cheapest verified vendors.
- Revision History: Save multiple versions of a single build and track changes over time.
- Diff Tool: Compare different versions of your build to see how specifications and prices have evolved.
- Gallery Showcase: Share your completed or planned builds with the community.
- Portable Share Links: Generate unique, persistent IDs for sharing builds on forums or social media.
- Anonymous Session Migration: Start building as a guest and seamlessly transfer your work to a registered account.
- Data Integrity Dashboard: Real-time metrics on product coverage and missing specifications.
- Dynamic Spec Management: Tools for administrators to update hardware specifications and maintain data accuracy.
PC Forge follows a Layered Architecture to ensure maintainability, scalability, and testability.
- API Layer (
app/main.py): FastAPI-based RESTful interface with strict Pydantic validation. - Service Layer (
app/services/): Orchestrates complex business logic, including the compatibility engine and AI integration. - Repository Layer (
app/repositories/): High-performance Data Access Layer (DAL) using raw SQL for optimized PostgreSQL queries. - Database: PostgreSQL (Hosted on Neon) with a relational schema optimized for many-to-many hardware relationships.
- Framework: FastAPI (Python 3.9+)
- Database: PostgreSQL (Neon)
- AI Integration: LLM-powered recommendations
- Deployment: Vercel (Python Runtime)
- Framework: React 19 (Vite)
- Routing: React Router 7
- Styling: Tailwind CSS + Radix UI
- Animations: Framer Motion + GSAP
- State/Data: Real-time API integration with persistent local sessions
- Python 3.9+
- Node.js 18+
- PostgreSQL (or Neon account)
cd pc-forge-api
python -m venv venv
# On Windows: venv\Scripts\activate | On Unix: source venv/bin/activate
pip install -r requirements.txtCreate a .env file in pc-forge-api/:
DATABASE_URL=your_postgresql_connection_string
ALLOWED_ORIGINS=http://localhost:5173Run the API:
uvicorn app.main:app --reloadcd pc-forge-ui
npm install
npm run devThe application will be available at http://localhost:5173.
Engineered for builders, by builders.
