├── .editorconfig ├── .env.example ├── .eslintignore ├── .eslintrc.json ├── .github ├── CODEOWNERS ├── FUNDING.yml ├── dependabot.yml └── workflows │ ├── assertions.yml │ └── security.yml ├── .gitignore ├── .nvmrc ├── .prettierrc.js ├── .vscode └── settings.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── app ├── (weather) │ ├── weather.css │ ├── wx-client │ │ ├── layout.tsx │ │ ├── loading.tsx │ │ └── page.tsx │ └── wx-server │ │ ├── [location] │ │ └── page.tsx │ │ ├── layout.tsx │ │ └── page.tsx ├── api │ └── weather │ │ └── route.ts ├── blog │ ├── [slug] │ │ └── page.tsx │ ├── not-found.tsx │ └── page.tsx ├── globals.css ├── layout.tsx └── page.tsx ├── components ├── blog │ └── CommentForm.tsx ├── shared │ ├── Footer.tsx │ ├── Header.tsx │ └── HeaderDescription.tsx ├── wx-client │ ├── Search.tsx │ ├── Settings.tsx │ └── WeatherProvider.tsx └── wx-server │ ├── DisplayWeather.tsx │ ├── Search.tsx │ ├── Settings.tsx │ └── WeatherProvider.tsx ├── lib ├── config.ts ├── functions.ts ├── queries.ts └── types.d.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── public └── favicon.ico ├── tailwind.config.js └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: gregrickaby 4 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/assertions.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.github/workflows/assertions.yml -------------------------------------------------------------------------------- /.github/workflows/security.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.github/workflows/security.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/* 2 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/README.md -------------------------------------------------------------------------------- /app/(weather)/weather.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/(weather)/weather.css -------------------------------------------------------------------------------- /app/(weather)/wx-client/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/(weather)/wx-client/layout.tsx -------------------------------------------------------------------------------- /app/(weather)/wx-client/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/(weather)/wx-client/loading.tsx -------------------------------------------------------------------------------- /app/(weather)/wx-client/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/(weather)/wx-client/page.tsx -------------------------------------------------------------------------------- /app/(weather)/wx-server/[location]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/(weather)/wx-server/[location]/page.tsx -------------------------------------------------------------------------------- /app/(weather)/wx-server/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/(weather)/wx-server/layout.tsx -------------------------------------------------------------------------------- /app/(weather)/wx-server/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/(weather)/wx-server/page.tsx -------------------------------------------------------------------------------- /app/api/weather/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/api/weather/route.ts -------------------------------------------------------------------------------- /app/blog/[slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/blog/[slug]/page.tsx -------------------------------------------------------------------------------- /app/blog/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/blog/not-found.tsx -------------------------------------------------------------------------------- /app/blog/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/blog/page.tsx -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/app/page.tsx -------------------------------------------------------------------------------- /components/blog/CommentForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/blog/CommentForm.tsx -------------------------------------------------------------------------------- /components/shared/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/shared/Footer.tsx -------------------------------------------------------------------------------- /components/shared/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/shared/Header.tsx -------------------------------------------------------------------------------- /components/shared/HeaderDescription.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/shared/HeaderDescription.tsx -------------------------------------------------------------------------------- /components/wx-client/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/wx-client/Search.tsx -------------------------------------------------------------------------------- /components/wx-client/Settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/wx-client/Settings.tsx -------------------------------------------------------------------------------- /components/wx-client/WeatherProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/wx-client/WeatherProvider.tsx -------------------------------------------------------------------------------- /components/wx-server/DisplayWeather.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/wx-server/DisplayWeather.tsx -------------------------------------------------------------------------------- /components/wx-server/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/wx-server/Search.tsx -------------------------------------------------------------------------------- /components/wx-server/Settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/wx-server/Settings.tsx -------------------------------------------------------------------------------- /components/wx-server/WeatherProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/components/wx-server/WeatherProvider.tsx -------------------------------------------------------------------------------- /lib/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/lib/config.ts -------------------------------------------------------------------------------- /lib/functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/lib/functions.ts -------------------------------------------------------------------------------- /lib/queries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/lib/queries.ts -------------------------------------------------------------------------------- /lib/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/lib/types.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregrickaby/nextjs-app-router-examples/HEAD/tsconfig.json --------------------------------------------------------------------------------