mirror of
https://github.com/kennethnym/aris.git
synced 2026-02-02 05:01:17 +00:00
- Add PostgreSQL connection (src/db.ts) - Configure BetterAuth with email/password (src/auth/index.ts) - Add session middleware for route protection (src/auth/session-middleware.ts) - Add registerAuthHandlers for mounting auth routes (src/auth/http.ts) - Rename index.ts to server.ts - Add .env.example with required environment variables Co-authored-by: Ona <no-reply@ona.com>
23 lines
455 B
JSON
23 lines
455 B
JSON
{
|
|
"name": "@aris/backend",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "src/server.ts",
|
|
"scripts": {
|
|
"dev": "bun run --watch src/server.ts",
|
|
"start": "bun run src/server.ts",
|
|
"test": "bun test src/"
|
|
},
|
|
"dependencies": {
|
|
"@aris/core": "workspace:*",
|
|
"@aris/source-location": "workspace:*",
|
|
"@aris/source-weatherkit": "workspace:*",
|
|
"better-auth": "^1",
|
|
"hono": "^4",
|
|
"pg": "^8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/pg": "^8"
|
|
}
|
|
}
|