🏗️ ThekedarAI API

AI-Powered Interior Design & Cost Estimation Platform

✅ API v1.0 - Ready

📋 Available Endpoints

Authentication POST /api/auth/signup.php - User Registration
POST /api/auth/login.php - User Login
POST /api/auth/guest.php - Guest Access
GET /api/auth/profile.php - Get Profile
PUT /api/auth/profile.php - Update Profile
Designs GET /api/designs/categories.php - Get Room Types & Styles
POST /api/designs/upload.php - Upload Image
POST /api/designs/generate.php - Generate AI Design
GET /api/designs/list.php - List All Designs
GET /api/designs/get.php - Get Single Design
DELETE /api/designs/delete.php - Delete Design
POST /api/designs/estimate.php - Cost Estimate

🚀 Features

🔐
JWT Auth

Secure token-based authentication

🖼️
Image Upload

10MB max, JPEG/PNG/WEBP

🤖
AI Generation

7 room types, 6 styles

💰
Cost Estimation

India-specific pricing

📚 Documentation

Requirements API Specs Database Schema Download Postman Collection

⚙️ Setup Instructions

  1. Import create_tables.sql into MySQL to create database
  2. Configure database credentials in api/config.php
  3. Ensure uploads/ directory has write permissions
  4. Import Postman collection to test APIs
  5. Start making requests to http://localhost/thekedar-api/api/