4 Commits

Author SHA1 Message Date
ethan.chen
02ebb4c648 feat: 项目从deno迁移回使用bun 2026-01-08 14:30:11 +08:00
ethan.chen
32f7b86f28 feat: implement authentication middleware and routes
- Added `auth.ts` for JWT authentication middleware.
- Created `auth` route to handle authentication and token verification.
- Integrated authentication middleware into `media.ts` for protected routes.
- Updated `main.ts` to register the new authentication route.
2025-06-23 16:57:22 +08:00
ethan.chen
e511ab9db6 feat: enhance deployment process and server configuration
- Updated `deno.json` to allow environment variable access in the start task.
- Added `deploy.sh` script for building and deploying the application to a remote server.
- Modified `main.ts` to retrieve the `AUTH_SECRET` and `PORT` from environment variables.
- Created `my-score.service` for managing the Deno service with systemd.
- Cleaned up `user.ts` by removing unnecessary console logs.
2025-06-19 16:28:50 +08:00
ethan.chen
c60fde3321 init: 初始化 2025-06-13 13:56:26 +08:00