Skip to content

feat: DB setup, seed, README#2

Merged
nagauta merged 7 commits into
mainfrom
feat/db-setup
Feb 14, 2026
Merged

feat: DB setup, seed, README#2
nagauta merged 7 commits into
mainfrom
feat/db-setup

Conversation

@nagauta
Copy link
Copy Markdown
Owner

@nagauta nagauta commented Feb 14, 2026

概要

DB周りの整備とドキュメント追加。

背景

PR #1 マージ後、DATABASE_URL未設定時のクラッシュやseedの仕組みがなかった。

変更内容

  • DB接続を遅延初期化 (getDb()) に変更
  • Seedスクリプト追加 (pnpm --filter @nagauta-stack/web db:seed)
  • dotenvで apps/web/.env を自動読み込み
  • ルートの .env.example 削除(Turborepo推奨に従いappごとに配置)
  • 初回マイグレーションファイル追加
  • Biomeのignoreに apps/web/drizzle を追加
  • README追加

🤖 Generated with Claude Code

nagauta and others added 7 commits February 14, 2026 21:03
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nagauta nagauta merged commit b7d723d into main Feb 14, 2026
3 checks passed
@nagauta nagauta deleted the feat/db-setup branch February 14, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant