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.
 
 
 
 
npmrun ba28a7c321 test: optional auth HTTP integration; docs and db:generate script 6 days ago
app feat(app): minimal login register profile pages 6 days ago
build-files Switch database from MySQL to PostgreSQL, update dependencies, and modify migration scripts accordingly. Adjust README and configuration files to reflect the new database setup. 6 days ago
docs/superpowers docs: add auth and user profile implementation plan 6 days ago
packages fix(seed): insert users with password hash for new schema 6 days ago
public init 7 days ago
scripts Switch database from MySQL to PostgreSQL, update dependencies, and modify migration scripts accordingly. Adjust README and configuration files to reflect the new database setup. 6 days ago
server feat(api): auth and profile endpoints, remove public hello 6 days ago
test test: optional auth HTTP integration; docs and db:generate script 6 days ago
.env.example chore: add auth-related deps and env example 6 days ago
.gitignore init 7 days ago
README.md test: optional auth HTTP integration; docs and db:generate script 6 days ago
bun.lock chore: add auth-related deps and env example 6 days ago
nuxt.config.ts init 7 days ago
package.json test: optional auth HTTP integration; docs and db:generate script 6 days ago
tsconfig.json init 7 days ago

README.md

文档

开发与部署

用 Linux 开发与部署,包管理器采用 bun@1.3.11。数据库为 postgres(通过 DATABASE_URL 连接;本地可参考 .env.example 复制为 .env.local)。部署时可直接打包 .output 目录,在服务器环境执行迁移命令,省时省力。

会话与限流依赖 RedisREDIS_URL,见 .env.example)。认证相关设计见 docs/superpowers/specs/2026-04-12-auth-user-design.md,实现任务见 docs/superpowers/plans/2026-04-12-auth-user.md

  • 迁移:bun run db:migrate(需可用 DATABASE_URL)。
  • 生成迁移:在仓库根执行 bun run db:generate -- --name <tag>-- 之后参数传给 drizzle-kit generate)。
  • 单元测试:bun run test
  • 可选 HTTP 集成:终端 A bun run dev(需 DATABASE_URLREDIS_URL),终端 B TEST_INTEGRATION=1 NODE_ENV=test bun run test:integration