Skip to content
VNFestMapPublic

About

The next version of VNFestMap, built with Nuxt & GO Fiber.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

vnfm-next

VNFest 同好会地图重写。Nuxt 4 前端 + Go Fiber API。本站自己签发账号,权限自管;NextMoe 登录可选。当前范围见 docs/05-v1-scope.md。

本地运行

需要 Node 24+(Corepack)、Go 1.26+、pnpm。API 的 /healthz 不依赖 Postgres;跑迁移才需要数据库。

corepack enable
pnpm install

cp apps/api/.env.example apps/api/.env
cp apps/web/.env.example apps/web/.env

# Web http://127.0.0.1:3710  API http://127.0.0.1:3711
pnpm dev

分开启动:pnpm dev:web / pnpm dev:api。迁移:pnpm migrate(需在 apps/api/.env 填写 DATABASE_URL)。

密码登录走本站 /auth/login。旧站用户导入后用原来的用户名/邮箱和密码即可,第一次成功登录会把哈希升级成 argon2id。

可选的 NextMoe 登录依赖本机 nextmoe-infra:oauth 在 :9277,账户中心在 :9420。开发用 OAuth client vnfm-dev / dev-secret-vnfm-dev(需写入 kun_galgame_infra.oauth_clients,redirect http://127.0.0.1:3710/auth/callback)。不配 NEXTMOE_CLIENT_ID 时前端不显示该按钮。

About

The next version of VNFestMap, built with Nuxt & GO Fiber.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages