You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
谢亚昕 4229894af2 feat: Update database schema and migration scripts 2 months ago
.vscode init 2 months ago
internal feat: 删除不再使用的 bunfig.toml 文件,更新相关依赖和配置 2 months ago
packages feat: Update database schema and migration scripts 2 months ago
scripts feat: 删除不再使用的 bunfig.toml 文件,更新相关依赖和配置 2 months ago
.bunfig.toml feat: Add bunfig.toml for registry configuration and update README with requirements 2 months ago
.env.example feat: 删除不再使用的 bunfig.toml 文件,更新相关依赖和配置 2 months ago
.gitignore init 2 months ago
README.md feat: Update database schema and migration scripts 2 months ago
bun.lockb feat: Add bunfig.toml for registry configuration and update README with requirements 2 months ago
package.json feat: 删除不再使用的 bunfig.toml 文件,更新相关依赖和配置 2 months ago
tsup.config.ts feat: Add bunfig.toml for registry configuration and update README with requirements 2 months ago

README.md

基于koa实现的简易ssr

试试grpc,实现node与python通信,扩展更多的功能。

https://grpc.org.cn/docs/languages/node/quickstart/ https://www.doubao.com/chat/23869592666505474

要求

bun < 1.2.0

1) 生成迁移(根据 schema 变更生成 SQL 到 packages/server/drizzle)

bun run --cwd packages/server db:generate # 生成迁移文件

2) 推送/迁移(任选其一)

bun run --cwd packages/server db:push # 直接将 schema 同步到 DB(简单场景) bun run --cwd packages/server db:migrate # 执行已生成的迁移脚本(更可控)

3) 部署阶段(CI/CD)

bun run --cwd packages/server deploy:migrate # 在部署容器/机器执行迁移