feat: 后端改为deno

This commit is contained in:
ethan.chen
2025-11-05 11:43:47 +08:00
parent ba3435e1a0
commit f67a3835fa
27 changed files with 1449 additions and 1404 deletions

12
backend-deno/deno.json Normal file
View File

@@ -0,0 +1,12 @@
{
"imports": {
"hono": "https://deno.land/x/hono@v3.12.8/mod.ts",
"ws": "https://deno.land/std@0.208.0/ws/mod.ts",
"cors": "https://deno.land/x/hono@v3.12.8/middleware/cors/index.ts",
"logger": "https://deno.land/x/hono@v3.12.8/middleware/logger/index.ts"
},
"tasks": {
"start": "deno run --allow-net --allow-run --allow-read --allow-write --allow-env main.ts",
"dev": "deno run --allow-net --allow-run --allow-read --allow-write --watch --allow-env main.ts"
}
}