feat: add PostgreSQL persistence layer with Neon DB support

This commit is contained in:
user
2026-04-27 12:35:03 +09:00
parent 01d102f5ef
commit bfdc7399eb
12 changed files with 671 additions and 6 deletions

8
.env Normal file
View File

@@ -0,0 +1,8 @@
TUTOR_HTTP_ADDR=:8080
DATABASE_URL=postgresql://neondb_owner:npg_MNHX2arVQqI3@ep-dry-star-akdkpb5p.c-3.us-west-2.aws.neon.tech/neondb?sslmode=require
TUTOR_ENV=development
TUTOR_WORKFLOW_RUNTIME=deepseek-v4-flash
TUTOR_MODEL_KEY=deepseek-v4-flash
TUTOR_IMAGE_MODEL_KEY=gpt-image-v2
THIRDONE_BIN=thirdone
TUTOR_PUBLIC_URL=https://tutor.uljisoft.com