{"id":16925097,"url":"https://github.com/hiroppy/nextjs-app-router-training","last_synced_at":"2025-05-16T05:04:21.919Z","repository":{"id":216205762,"uuid":"740305374","full_name":"hiroppy/nextjs-app-router-training","owner":"hiroppy","description":"Introducing various basic patterns of app router with simplified code.","archived":false,"fork":false,"pushed_at":"2025-05-12T13:21:22.000Z","size":2163,"stargazers_count":437,"open_issues_count":12,"forks_count":29,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-12T14:44:34.080Z","etag":null,"topics":["app-router","nextjs","nextjs-app-router","nextjs-example","server-components","tailwindcss"],"latest_commit_sha":null,"homepage":"https://nextjs-app-router-training.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiroppy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-01-08T04:22:37.000Z","updated_at":"2025-05-11T22:07:58.000Z","dependencies_parsed_at":"2024-01-22T14:03:56.713Z","dependency_job_id":"d9373abd-24dd-41d4-b965-777d2fcd0034","html_url":"https://github.com/hiroppy/nextjs-app-router-training","commit_stats":null,"previous_names":["hiroppy/nextjs-app-router-training"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fnextjs-app-router-training","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fnextjs-app-router-training/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fnextjs-app-router-training/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fnextjs-app-router-training/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroppy","download_url":"https://codeload.github.com/hiroppy/nextjs-app-router-training/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471060,"owners_count":22076585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["app-router","nextjs","nextjs-app-router","nextjs-example","server-components","tailwindcss"],"created_at":"2024-10-13T20:08:48.533Z","updated_at":"2025-05-16T05:04:21.902Z","avatar_url":"https://github.com/hiroppy.png","language":"TypeScript","funding_links":[],"categories":["🌐 Web Development - Frontend"],"sub_categories":[],"readme":"# Next.js App Router Training\n\n![site](./assets/hero.png)\n\n[This site](https://nextjs-app-router-training.vercel.app/) introduces various basic patterns for Next.js app router to understand how to work it.\n\nThis project aims to\n\n- design for beginners to understand\n- visitors can see the code and understand how it works\n- eliminating unnecessary code as much as possible to focus on Next.js code\n- covering many patterns for app router\n\n## Examples\n\n| Example                                | Kind                | Status |\n| -------------------------------------- | ------------------- | ------ |\n| Nesting Layouts                        | layout              | ✅     |\n| Template                               | layout              | ✅     |\n| Overwriting Metadata                   | metadata            | ✅     |\n| Generating OpenGraph Image             | metadata            | ✅     |\n| Server Components                      | rendering           | ✅     |\n| Server and Client Composition Patterns | rendering           | ✅     |\n| RSC Payload                            | rendering           | ✅     |\n| Client and Server Components           | basic               | ✅     |\n| Grouping                               | route groups        | ✅     |\n| Loading Immediately                    | loading             | ✅     |\n| Loading with Streaming                 | loading             | ✅     |\n| Loading with Preloading Data           | loading             | ✅     |\n| Error Immediately                      | error               | ✅     |\n| Not Found                              | error               | ✅     |\n| A Single Segment                       | dynamic routes      | ✅     |\n| Catch-all Segments                     | dynamic routes      | ✅     |\n| Optional Catch-all Segments            | dynamic routes      | ✅     |\n| Parallel Routes                        | parallel routes     | ✅     |\n| Conditional Routes                     | parallel routes     | ✅     |\n| Intercepting Routes                    | intercepting routes | ✅     |\n| Modal with Parallel Routes             | intercepting routes | ✅     |\n| Caching Data                           | fetching            | ✅     |\n| Request Memoization (@server)          | caching             | ✅     |\n| Data Cache (@server)                   | caching             | ✅     |\n| Full Route Cache (@server)             | caching             | ✅     |\n| Router Cache (@client)                 | caching             | ✅     |\n| Route Handlers                         | route handlers      | ✅     |\n| Dynamic Route Segments                 | route handlers      | ✅     |\n| Server Actions                         | server actions      | ✅     |\n| Non-form Elements                      | server actions      | ✅     |\n| Optimistic Updates                     | server actions      | ✅     |\n| Taint                                  | security            | ✅     |\n| Server Only end Env                    | security            | ✅     |\n| Shopping                               | showcases           | ✅     |\n\n## Adding a new sample\n\nWelcome to submitting a new example but please write simplified code as much as possible to understand beginners!\n\n```sh\n$ git clone git@github.com:hiroppy/nextjs-app-router-training.git\n$ cd nextjs-app-router-training\n$ npm i\n$ mkdir src/app/examples/new-example\n# adding code to src/app/examples/new-example\n$ # editing src/app/examples/data.ts to add meta data, please refer type definitions\n$ npm run generate\n$ # editing a table in README.md\n```\n\n## Thanks to\n\n- [Next.js App Router Playground](https://vercel.com/templates/next.js/app-directory)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fnextjs-app-router-training","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroppy%2Fnextjs-app-router-training","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fnextjs-app-router-training/lists"}