feat: integrate Convex API and add N5 proxy functionality

- Added Convex client setup in a new module for handling Convex API interactions.
- Implemented N5Proxy to handle requests for the /n5/:slug route, querying Convex for application links.
- Updated app context to include Convex client and API.
- Adjusted routing to support new Convex API endpoints.
- Enhanced error handling for missing applications in the N5 proxy.
This commit is contained in:
2026-03-03 14:35:46 +08:00
parent 75ab160509
commit 120303961c
7 changed files with 403 additions and 2 deletions

View File

@@ -62,6 +62,7 @@
"@kevisual/api": "^0.0.60",
"@kevisual/cnb": "^0.0.33",
"@kevisual/context": "^0.0.8",
"@kevisual/convex": "^0.0.3",
"@kevisual/local-app-manager": "0.1.32",
"@kevisual/logger": "^0.0.4",
"@kevisual/oss": "0.0.20",
@@ -78,6 +79,7 @@
"@types/semver": "^7.7.1",
"@types/xml2js": "^0.4.14",
"archiver": "^7.0.1",
"convex": "^1.32.0",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.19",
"dotenv": "^17.3.1",