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

23
package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "convex",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"dev": "bunx convex dev"
},
"keywords": [],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.28.2",
"type": "module",
"devDependencies": {
"@kevisual/types": "^0.0.12",
"@types/bun": "^1.3.8",
"@types/node": "^25.2.0"
},
"dependencies": {
"convex": "1.31.7",
"jose": "^6.1.3"
}
}