feat: initial standalone Ktor backend

This commit is contained in:
xiaobai committed 2026-03-04 17:09:58 +08:00
commit 0ac0f1614d
8 files changed
+461

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# kmp-mini-shopping-backend
独立后端项目(Ktor),仅提供商品列表接口。
## 运行
```bash
./gradlew run
```
默认监听:`http://localhost:8080`
## 接口
- `GET /` 服务状态
- `GET /api/health` 健康检查
- `GET /api/products` 商品列表(推荐)
- `GET /products` 商品列表(兼容)