Spaces:
Runtime error
Runtime error
|
Download README.md from Huzaifa1313/hitech-api: direct link, hf CLI and curl.
- Browser
- Download file 690 Bytes
-
https://huggingface.co/spaces/Huzaifa1313/hitech-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/Huzaifa1313/hitech-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Huzaifa1313/hitech-api/resolve/main/README.md
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` |