init: 初始化项目

This commit is contained in:
0264408
2026-03-10 16:26:48 +08:00
commit 57e0ef2cf6
79 changed files with 8943 additions and 0 deletions

25
config.dev.yaml Normal file
View File

@@ -0,0 +1,25 @@
server:
address: ":9050"
mode: "dev"
database:
dsn: "nebula.db"
storage:
type: "local"
basePath: "./uploads"
baseUrl: "http://localhost:9050/files"
jwt:
secret: "dev-secret-key"
accessTokenDuration: 7200
refreshTokenDuration: 604800
frontend:
enabled: false
path: "./web/dist"
# 开发环境管理员账号
admin:
username: "admin"
password: "123456"