Career Point Gurukul Kota • Production API
E-Commerce Backend & Product Admin
Scalable Next.js backend with Firebase Admin SDK powering the Flutter mobile storefront and complete Product Management Admin Dashboard.
Next.js 14 Engine
Firebase Cloud Firestore
Admin Role Security
Health Status
Online
REST Endpoints
21 Active
Frontend App
Flutter Mobile
API Route Directory
Live API endpoints available for mobile and admin web services
GET
/api/healthAPI status & Firebase connection checkSystem
GET
/api/productsList products with ?page, ?limit, ?search, ?categoryId, ?status, ?stockStatus, ?sortByProducts
POST
/api/productsCreate product in Firestore with auto-slug, discount & SKU (Admin)Products
GET
/api/products/:idGet single product details by IDProducts
PUT
/api/products/:idUpdate existing product without overwriting unprovided fields (Admin)Products
DELETE
/api/products/:idSoft delete / archive product to Recycle Bin (Admin)Products
POST
/api/products/:id/restoreRestore soft-deleted product back to active catalog (Admin)Products
PATCH
/api/products/:id/statusToggle product active/inactive status (Admin)Products
PATCH
/api/products/:id/featuredToggle featured flag for home screen carousel (Admin)Products
PATCH
/api/products/:id/stockAdjust inventory with IN/OUT/ADJUSTMENT logging (Admin)Products
POST
/api/products/:id/duplicateClone product with unique ID, SKU and slug (Admin)Products
POST
/api/products/uploadUpload product image to Firebase Storage (Admin)Products
GET
/api/activity-logsAudit trail of admin operations with JSON state diffs (Admin)Audit
GET
/api/inventory-logsFull history of stock movements and restocks (Admin)Audit
GET
/api/categoriesList all store categories with subcategoriesCategories
POST
/api/categoriesCreate or update category (Admin only)Categories
GET
/api/ordersFetch orders by customer or store-wide (Admin)Orders
POST
/api/orders/createSecure checkout & order placement with server validationOrders
POST
/api/orders/update-statusOrder fulfillment workflow status updatesOrders
GET
/api/metricsReal-time revenue & sales KPI metrics (Admin)Analytics
POST
/api/auth/set-admin-roleGrant custom admin claims to user accountsAuth