Spaces:
Runtime error
Runtime error
File size: 690 Bytes
cbbb3a0 0c747a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | ---
title: HiTech API
emoji: π
colorFrom: blue
colorTo: indigo
sdk: docker
sdk_version: "1.0"
app_port: 7860
pinned: false
---
# HiTech MongoDB API
## π API Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/health` | GET | Check server and database status |
| `/api/products` | GET | Get all products |
| `/api/products` | POST | Create new product |
| `/api/users` | GET | Get all users |
| `/api/dashboard/stats` | GET | Get dashboard statistics |
## π Database
- MongoDB Atlas connected
- Collections: products, users, orders
## π Live API
- Health check: `/api/health`
- Products: `/api/products` |