├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── AddBookmark.tsx ├── _components │ ├── BookmarkRow.tsx │ ├── Button.tsx │ ├── CommentInput.tsx │ ├── Dialog.tsx │ ├── ExternalLink.tsx │ ├── HNStoryRow.tsx │ ├── HeaderTitle.tsx │ ├── List.tsx │ ├── Loading.tsx │ ├── Main.tsx │ ├── NavLinks.tsx │ └── SubmitButton.tsx ├── action.ts ├── favicon.ico ├── globals.css ├── layout.tsx ├── loading.tsx ├── my │ ├── RemoveBookmark.tsx │ ├── action.ts │ └── page.tsx ├── page.tsx └── repository.ts ├── db └── schema.sql ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── tailwind.config.js └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/README.md -------------------------------------------------------------------------------- /app/AddBookmark.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/AddBookmark.tsx -------------------------------------------------------------------------------- /app/_components/BookmarkRow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/BookmarkRow.tsx -------------------------------------------------------------------------------- /app/_components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/Button.tsx -------------------------------------------------------------------------------- /app/_components/CommentInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/CommentInput.tsx -------------------------------------------------------------------------------- /app/_components/Dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/Dialog.tsx -------------------------------------------------------------------------------- /app/_components/ExternalLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/ExternalLink.tsx -------------------------------------------------------------------------------- /app/_components/HNStoryRow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/HNStoryRow.tsx -------------------------------------------------------------------------------- /app/_components/HeaderTitle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/HeaderTitle.tsx -------------------------------------------------------------------------------- /app/_components/List.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/List.tsx -------------------------------------------------------------------------------- /app/_components/Loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/Loading.tsx -------------------------------------------------------------------------------- /app/_components/Main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/Main.tsx -------------------------------------------------------------------------------- /app/_components/NavLinks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/NavLinks.tsx -------------------------------------------------------------------------------- /app/_components/SubmitButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/_components/SubmitButton.tsx -------------------------------------------------------------------------------- /app/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/action.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/loading.tsx -------------------------------------------------------------------------------- /app/my/RemoveBookmark.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/my/RemoveBookmark.tsx -------------------------------------------------------------------------------- /app/my/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/my/action.ts -------------------------------------------------------------------------------- /app/my/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/my/page.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/app/repository.ts -------------------------------------------------------------------------------- /db/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/db/schema.sql -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koba04/next-app-router-hacker-news-demo/HEAD/tsconfig.json --------------------------------------------------------------------------------