﻿{
    "success": true,
    "message": "Dehalish Stores API is running!",
    "version": "1.0.0",
    "endpoints": {
        "auth": {
            "POST \/api\/auth\/register": "User registration",
            "POST \/api\/auth\/login": "User login",
            "GET \/api\/auth\/profile": "Get user profile"
        },
        "products": {
            "GET \/api\/products\/list": "Get all products",
            "GET \/api\/products\/categories": "Get categories",
            "GET \/api\/products\/by-category\/{slug}": "Get products by category"
        },
        "cart": {
            "GET \/api\/cart\/get": "Get cart items",
            "POST \/api\/cart\/add": "Add to cart",
            "PUT \/api\/cart\/update": "Update cart item",
            "DELETE \/api\/cart\/remove": "Remove from cart"
        },
        "contact": {
            "POST \/api\/contact\/send": "Send contact message"
        }
    }
}