feat: update environment configuration and add new API utilities

- Added .env.example with self-hosted admin key and site URL.
- Updated .gitignore to include .env files.
- Generated new API utility files: api.d.ts, api.js, dataModel.d.ts, server.d.ts, and server.js.
- Implemented auth configuration for JWT authentication.
- Created GitHub starred query and HTTP routes for authentication and JWKS.
- Defined schema for GitHub starred and user tables.
- Updated package.json with new dependencies and author information.
- Enhanced tsconfig.json with target and path configurations.
This commit is contained in:
2026-02-05 19:26:55 +08:00
commit d808f8b59b
14 changed files with 884 additions and 0 deletions

20
tsconfig.json Normal file
View File

@@ -0,0 +1,20 @@
{
"extends": "@kevisual/types/json/backend.json",
"compilerOptions": {
"module": "NodeNext",
"target": "esnext",
"baseUrl": ".",
"typeRoots": [
"./node_modules/@types"
],
"paths": {
"@/*": [
"src/*"
]
},
},
"include": [
"src/**/*",
"convex/**/*",
],
}