feat: initialize rust backend with axum server, seaorm models, and project scaffolding
This commit is contained in:
@@ -89,12 +89,17 @@ paths:
|
||||
database: "./data/zhealth.db"
|
||||
logs: "./logs"
|
||||
|
||||
logging:
|
||||
level: "info" # trace | debug | info | warn | error
|
||||
|
||||
auth:
|
||||
jwt_secret: "${JWT_SECRET}" # Loaded from env
|
||||
token_expiry_hours: 24
|
||||
session_secret: "${SESSION_SECRET}" # Loaded from env
|
||||
session_expiry_hours: 24
|
||||
cookie_name: "zhealth_session"
|
||||
|
||||
ai:
|
||||
provider: "gemini" # gemini | openai | anthropic
|
||||
model: "gemini-3-flash-preview"
|
||||
api_key: "${AI_API_KEY}"
|
||||
```
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
## Phase 2: API & Core Auth
|
||||
|
||||
- API Development with Axum.
|
||||
- Implementation of Auth logic (JWT, Middleware, RBAC enforcement).
|
||||
- Implementation of Auth logic (Session-based, Middleware, RBAC enforcement).
|
||||
- Frontend Development (Vite + React + TS) - Initial Layout.
|
||||
|
||||
## Phase 3: Integration
|
||||
|
||||
Reference in New Issue
Block a user