{"id":28545299,"url":"https://github.com/y-temp4/minwada","last_synced_at":"2026-04-08T11:32:36.751Z","repository":{"id":298100277,"uuid":"995825651","full_name":"y-temp4/minwada","owner":"y-temp4","description":"Next.jsとRustで構築されたモダンな議論プラットフォーム","archived":false,"fork":false,"pushed_at":"2025-12-16T13:39:55.000Z","size":7777,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-20T04:11:15.768Z","etag":null,"topics":["axum","docker-compose","jwt","mailgun","nextjs","nodejs","openapi","orval","postgresql","react-hook-form","reddit","rust","shadcn-ui","sqlx","sqlx-cli","tailwindcss","tanstack-query","utopia","vibe-coding","zod"],"latest_commit_sha":null,"homepage":"https://minwada.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/y-temp4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-04T04:13:38.000Z","updated_at":"2025-12-16T13:40:00.000Z","dependencies_parsed_at":"2025-06-09T12:43:18.547Z","dependency_job_id":null,"html_url":"https://github.com/y-temp4/minwada","commit_stats":null,"previous_names":["y-temp4/minwada"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/y-temp4/minwada","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-temp4%2Fminwada","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-temp4%2Fminwada/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-temp4%2Fminwada/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-temp4%2Fminwada/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/y-temp4","download_url":"https://codeload.github.com/y-temp4/minwada/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-temp4%2Fminwada/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axum","docker-compose","jwt","mailgun","nextjs","nodejs","openapi","orval","postgresql","react-hook-form","reddit","rust","shadcn-ui","sqlx","sqlx-cli","tailwindcss","tanstack-query","utopia","vibe-coding","zod"],"created_at":"2025-06-09T23:07:10.121Z","updated_at":"2026-04-08T11:32:36.698Z","avatar_url":"https://github.com/y-temp4.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://minwada.com\"\u003e\n    \u003cimg src=\"./docs/images/logo.png\" alt=\"みんなの話題\" width=\"300\" height=\"300\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# 🗣️ [みんなの話題](https://minwada.com)\n\n[![Rust](https://img.shields.io/badge/rust-1.87.0-orange.svg?logo=rust)](https://www.rust-lang.org)\n[![Next.js](https://img.shields.io/badge/next.js-15+-black.svg?logo=next.js)](https://nextjs.org/)\n\n[English README](./docs/README.en.md)\n\n\u003e Reddit 風のスレッド・コメントシステムのサンプル実装です。自由に話題を投稿し、コメントを通じてコミュニケーションを楽しめます。\n\n\u003e [!WARNING]\n\u003e 本 README を含むプロジェクト内のコードは大半が AI により生成されたものであり、必ずしも正しい内容とは限らない点にご注意ください。\n\n## ✨ 機能\n\n- 👤 ユーザー認証（JWT）\n- 📝 スレッド投稿・閲覧\n- 💬 木構造コメントシステム\n- 👨‍💻 ユーザープロフィールページ（投稿したスレッド・コメント一覧表示）\n- 📱 レスポンシブデザイン\n\n## 🛠️ 技術スタック\n\n### バックエンド\n\n- **Language**: [Rust](https://www.rust-lang.org/) 🦀\n- **Framework**: [axum](https://github.com/tokio-rs/axum) ⚡\n- **Database**: [PostgreSQL](https://www.postgresql.org/) 🐘\n- **ORM**: [sqlx](https://github.com/launchbadge/sqlx) 📊\n- **認証**: JWT + OAuth2 (Google、予定) 🔐\n- **API 仕様**: [OpenAPI](https://www.openapis.org/) ([utoipa](https://github.com/juhaku/utoipa)) 📚\n\n### フロントエンド\n\n- **Framework**: [Next.js](https://nextjs.org/) 15+ (App Router) ⚛️\n- **UI**: [shadcn/ui](https://ui.shadcn.com/) + [Tailwind CSS](https://tailwindcss.com/) 🎨\n- **API クライアント**: [TanStack Query](https://tanstack.com/query) + [Orval](https://orval.dev/) 🔄\n- **フォーム**: [React Hook Form](https://react-hook-form.com/) + [Zod](https://zod.dev/) 📋\n\n## 📂 プロジェクト構成\n\n```\nminwada/\n├── backend/                 # Rust (axum) バックエンドAPI\n│   ├── src/                 # ソースコード\n│   │   ├── main.rs          # エントリーポイント\n│   │   ├── config.rs        # アプリケーション設定\n│   │   ├── models/          # データモデル\n│   │   │   ├── auth.rs\n│   │   │   ├── threads.rs\n│   │   │   └── users.rs\n│   │   └── handlers/        # APIハンドラー\n│   │       ├── auth.rs\n│   │       ├── threads.rs\n│   │       └── comments.rs\n│   ├── migrations/          # DBマイグレーション\n│   ├── database/            # DB設定\n│   └── Cargo.toml           # 依存関係\n├── frontend/                # Next.js フロントエンド\n│   ├── src/                 # ソースコード\n│   │   ├── app/             # App Router\n│   │   │   ├── layout.tsx\n│   │   │   └── page.tsx     # ホームページ\n│   │   ├── components/      # UIコンポーネント\n│   │   └── lib/             # ユーティリティ\n│   ├── generated/           # API自動生成コード\n│   └── package.json         # 依存関係\n├── justfile                 # タスクランナー\n└── README.md                # このファイル\n```\n\n## 🚀 開発環境セットアップ\n\n### 必要なツール\n\n- [asdf](https://asdf-vm.com/) - バージョン管理\n- [Docker Compose](https://docs.docker.com/compose/) - コンテナ管理\n- [cargo-watch](https://crates.io/crates/cargo-watch) - Rust ホットリロード\n- [just](https://just.systems/) - タスクランナー\n\n### インストール手順\n\n#### 1️⃣ 事前準備\n\n```bash\n$ asdf install\n$ cargo install cargo-watch\n```\n\n#### 2️⃣ バックエンド\n\n```shell\n$ cd backend\n$ cp .env.example .env  # 環境変数を設定\n```\n\n#### 3️⃣ フロントエンド\n\n```shell\n$ cd frontend\n$ cp .env.example .env.local  # 環境変数を設定\n$ npm ci  # 依存関係をインストール\n```\n\n### 開発環境の立ち上げ\n\n```bash\n$ just dev  # バックエンドとフロントエンドの両方が起動します\n```\n\n### アクセス先\n\n- 🌐 **フロントエンド**: http://localhost:3000\n- 🔌 **バックエンド API**: http://localhost:8000\n- 📘 **OpenAPI Docs**: http://localhost:8000/swagger-ui/\n- 📧 **MailHog**: http://localhost:8025\n\n## 💻 開発ワークフロー\n\n1. バックエンドで API 仕様変更\n2. OpenAPI 仕様が自動更新\n3. フロントエンドで `npm run generate-api` 実行（もしくは `npm run generate-api:watch` で自動生成）\n4. 型安全な API クライアントが再生成\n\n## 🔍 実装済み API\n\n\u003cdetails\u003e\n\u003csummary\u003e👤 ユーザー関連\u003c/summary\u003e\n\n- ユーザー登録・ログイン・ログアウト\n- ユーザープロフィール表示\n- ユーザーが投稿したスレッド一覧取得\n- ユーザーが投稿したコメント一覧取得\n- プロフィール編集\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e📋 スレッド関連\u003c/summary\u003e\n\n- スレッド一覧取得\n- スレッド詳細取得\n- スレッド作成・削除\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e💬 コメント関連\u003c/summary\u003e\n\n- スレッドのコメント一覧取得\n- コメント投稿・削除\n- 返信コメント（ネスト構造）\n\u003c/details\u003e\n\n## ⚠️ 注意事項\n\n- 本プロジェクトは学習・デモ用途のサンプル実装です\n- 実際の運用にはセキュリティやパフォーマンスの考慮が必要です\n- 継続的に機能追加・改善を行っています\n- バグ報告や機能提案は [Issue](https://github.com/y-temp4/minwada/issues) からお願いします\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy-temp4%2Fminwada","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fy-temp4%2Fminwada","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy-temp4%2Fminwada/lists"}