{"id":28639835,"url":"https://github.com/rudrodip/nexfaster","last_synced_at":"2025-09-02T03:47:56.784Z","repository":{"id":296990126,"uuid":"994303231","full_name":"rudrodip/nexfaster","owner":"rudrodip","description":"React Router integration within Next.js for client-side routing","archived":false,"fork":false,"pushed_at":"2025-07-07T11:59:30.000Z","size":436,"stargazers_count":255,"open_issues_count":1,"forks_count":16,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T23:44:39.775Z","etag":null,"topics":["nextjs15","react-router","shadcn-ui"],"latest_commit_sha":null,"homepage":"https://nexfaster.rdsx.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudrodip.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":"2025-06-01T16:49:40.000Z","updated_at":"2025-08-31T07:18:10.000Z","dependencies_parsed_at":"2025-06-03T19:42:57.246Z","dependency_job_id":"c6aaa387-8e05-4838-94b9-3347fd736bd5","html_url":"https://github.com/rudrodip/nexfaster","commit_stats":null,"previous_names":["rudrodip/nexfaster"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rudrodip/nexfaster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudrodip%2Fnexfaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudrodip%2Fnexfaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudrodip%2Fnexfaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudrodip%2Fnexfaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudrodip","download_url":"https://codeload.github.com/rudrodip/nexfaster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudrodip%2Fnexfaster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273227495,"owners_count":25067686,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["nextjs15","react-router","shadcn-ui"],"created_at":"2025-06-12T20:00:41.876Z","updated_at":"2025-09-02T03:47:56.779Z","avatar_url":"https://github.com/rudrodip.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# NexFaster\n\nA minimal template showcasing React Router integration within Next.js for client-side routing\n\n![nexfaster](./public/og.png)\n\n## 🚀 Quick Start\n\n```bash\ngit clone https://github.com/rudrodip/nexfaster\ncd nexfaster\nbun install\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to see the app.\n\n## 🏗️ Architecture\n\nNexFaster combines Next.js with React Router for pure client-side routing:\n\n1. **Route Redirection**: All routes redirect to `/shell` via `next.config.ts`\n2. **Shell Loading**: Shell page loads React Router app with `ssr: false`\n3. **Client Routing**: React Router handles all navigation client-side\n\n## 📁 Key Files\n\n- `next.config.ts` - Route redirection configuration\n- `src/app/shell/page.tsx` - Loads React Router app\n- `src/frontend/app.tsx` - Main React Router application\n- `src/config/site.config.ts` - Site configuration\n- `src/components/boilerplate.tsx` - Layout and page components\n\n## 🔧 Adding Routes\n\nAdd new routes in `src/frontend/app.tsx`:\n\n```tsx\n\u003cRoute path=\"/your-page\" element={\u003cYourPage /\u003e} /\u003e\n```\n\n## 🎨 Features\n\n- ⚡ Lightning fast client-side routing\n- 🎯 Zero-config React Router integration\n- 🎨 Modern UI with Tailwind CSS\n- 🌙 Dark mode support\n- 📱 Responsive design\n- 🔧 TypeScript support\n\n## 🛠️ Tech Stack\n\n- **Framework**: Next.js 15\n- **Routing**: React Router 7\n- **Styling**: Tailwind CSS\n- **UI Components**: shadcn/ui\n- **Icons**: Lucide React\n- **Language**: TypeScript\n\n## 📖 Usage Examples\n\n### Multi-page App\n```tsx\n\u003cRoute path=\"/products\" element={\u003cProductList /\u003e} /\u003e\n\u003cRoute path=\"/products/:id\" element={\u003cProductDetail /\u003e} /\u003e\n\u003cRoute path=\"/cart\" element={\u003cShoppingCart /\u003e} /\u003e\n```\n\n### Protected Routes\n```tsx\n\u003cRoute path=\"/dashboard\" element={\n  \u003cProtectedRoute\u003e\n    \u003cDashboard /\u003e\n  \u003c/ProtectedRoute\u003e\n} /\u003e\n```\n\n### Nested Layouts\n```tsx\n\u003cRoute path=\"/admin\" element={\u003cAdminLayout /\u003e}\u003e\n  \u003cRoute path=\"users\" element={\u003cUserManagement /\u003e} /\u003e\n  \u003cRoute path=\"settings\" element={\u003cSettings /\u003e} /\u003e\n\u003c/Route\u003e\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## 📄 License\n\nBSD Zero Clause License - see [LICENSE](LICENSE) for details.\n\n## 👤 Author\n\nCreated by [rds_agi](https://rdsx.dev) • [GitHub](https://github.com/rudrodip/nexfaster) • [Twitter](https://x.com/rds_agi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudrodip%2Fnexfaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudrodip%2Fnexfaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudrodip%2Fnexfaster/lists"}