hitech-api / README.md
Huzaifa1313's picture
Upload 4 files
cbbb3a0 verified
|
Raw History Blame Contribute Delete
690 Bytes
---
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`