今日あったちょっといいことを匿名で共有する日記アプリ
Translation pending
SocialTypeScript · DockerfileGitHub @komataku1234-cmdOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
ii-koto-diary(匿名「ひとこと日記」共有アプリ) 「今日あったちょっといいこと」を匿名で投稿し、みんなの投稿がタイムライン形式で流れる日記共有アプリです。 • Server Actionで発生したエラー(バリデーション失敗など)を、Next.js標準の簡素な画面ではなく専用のエラー画面(error.tsx/global-error.tsx)で表示 詳しい要件は requirements.md を参照してください。 • Next.js 16 (App Router, Turbopack) • React 19 • Prisma + PostgreSQL • Tailwind CSS このリポジトリは pnpm と Dev Container を使用しています。.pnpm-store や node_modules などのビルド成果物は .gitignore の対象で、リポジトリにはコミットされていません。クローン後は自分で依存関係をインストールする必要があります。Read the full README ↗
「今日あったちょっといいこと」を匿名で投稿し、みんなの投稿がタイムライン形式で流れる日記共有アプリです。
error.tsx/global-error.tsx)で表示詳しい要件は requirements.md を参照してください。
| タイムライン | 投稿 |
|---|---|
| 管理者ログイン | 管理者画面(投稿一覧) |
|---|---|
| 投稿編集画面 |
|---|
このリポジトリは pnpm と Dev Container を使用しています。.pnpm-store や node_modules などのビルド成果物は .gitignore の対象で、リポジトリにはコミットされていません。クローン後は自分で依存関係をインストールする必要があります。
.devcontainer/devcontainer.json の postCreateCommand によって自動的に pnpm install が実行される。pnpm dev を実行する。セットアップ後、ブラウザで http://localhost:3001 を開くと確認できます。
Dev Containersを使わない方法(Docker Composeを直接操作する/ローカルのNode.jsを使う)は docs/setup-alternatives.md を参照してください。
.env.example をコピーして .env を作成してください。
cp .env.example .env
| 変数名 | 説明 |
|---|---|
DATABASE_URL | アプリ(Prisma)が接続するDB。ローカルDocker用ならそのままでOK |
ADMIN_PASSWORD | 管理者画面(/admin)のログインに使う固定パスワード。好きな値に変更してください |
POSTGRES_USER / POSTGRES_PASSWORD / POSTGRES_DB | Docker ComposeがPostgreSQLコンテナ初期化時に使う値。DATABASE_URLの接続情報と一致させること。これが無いとDBコンテナが起動できません |