{"id":26183433,"url":"https://github.com/simonsmith/react-router-fastify","last_synced_at":"2025-07-08T17:38:46.894Z","repository":{"id":274635761,"uuid":"923468537","full_name":"simonsmith/react-router-fastify","owner":"simonsmith","description":"Boilerplate to get started with React Router 7 and Fastify","archived":false,"fork":false,"pushed_at":"2025-03-17T20:37:55.000Z","size":46,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T11:42:55.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-01-28T09:55:02.000Z","updated_at":"2025-03-17T20:37:58.000Z","dependencies_parsed_at":"2025-01-28T14:28:25.745Z","dependency_job_id":"36209cfc-3676-4305-b578-07eaedfccb0f","html_url":"https://github.com/simonsmith/react-router-fastify","commit_stats":null,"previous_names":["simonsmith/react-router-fastify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsmith%2Freact-router-fastify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsmith%2Freact-router-fastify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsmith%2Freact-router-fastify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsmith%2Freact-router-fastify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonsmith","download_url":"https://codeload.github.com/simonsmith/react-router-fastify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981181,"owners_count":21193143,"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":[],"created_at":"2025-03-11T22:46:58.529Z","updated_at":"2025-04-14T23:37:34.030Z","avatar_url":"https://github.com/simonsmith.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Router ❤️ Fastify\n\nThis is a boilerplate to start an application with [React Router 7](https://reactrouter.com/home)\nand [Fastify](https://fastify.dev/)\n\n## Get Started\n\n1. Clone the repository\n2. Install the packages with your favourite package manager (there is no\n   lockfile by default, so choose whatever suits you)\n3. Run the development server (`bun run dev`)\n4. Get ready for production with (`bun run build \u0026\u0026 bun run start`)\n\n## Structure\n\n```\nclient\n├── common                   # things shared across all features/pages\n│   ├── components\n│   │   ├── Container.tsx\n│   └── util\n│       ├── page-title.ts\n├── features                 # feature directory\n│   └── UserList             # features can contain whatever needed, components styles etc\n│       ├── components\n│       │   └── UserList.tsx\n│       └── index.ts         # a place to easily export things\n├── layouts\n│   └── Default.tsx\n├── pages                    # components rendered by routes\n│   ├── HomePage.tsx\n│   └── UserPage.tsx\n├── queries                  # functions, options etc for react-query\n│   └── users.ts\n├── root.ts\n├── routes\n│   ├── home.tsx             # react-router files, these data load and render from client/pages\n│   └── users.tsx\n├── routes.ts                # configure the routes here\n└── styles\n    └── app.css\nserver\n├── api\n├── index.ts                  # does checks before starting the server\n├── start.ts                  # starts the Fastify server\n└── util                      # common utils\n```\n\n## Commands\n\n| Command          | Action                                   |\n| :--------------- | :--------------------------------------- |\n| `npm install`    | Installs dependencies                    |\n| `npm run dev`    | Starts the vite development server       |\n| `npm run build`  | Builds the production site to `./build/` |\n| `npm run format` | Formats files with Biome                 |\n| `npm run check`  | Runs all linter checks                   |\n| `npm run fix`    | Fix formatting and linting via Biome     |\n| `npm run start`  | Start the server with Node               |\n\n## Credit\n\nInspired by the excellent [mcansh/remix-fastify](https://github.com/mcansh/remix-fastify) examples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsmith%2Freact-router-fastify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonsmith%2Freact-router-fastify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsmith%2Freact-router-fastify/lists"}