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

5
.env.example Normal file
View File

@@ -0,0 +1,5 @@
# docker compose exec backend ./generate_admin_key.sh
CONVEX_SELF_HOSTED_ADMIN_KEY=
CONVEX_SELF_HOSTED_URL=http://localhost:3210
# CONVEX_SELF_HOSTED_URL=https://convex.kevisual.cn
CONVEX_SITE_URL=https://api-convex.kevisual.cn