{"id":26579009,"url":"https://github.com/just-shadyumbrella/vite-solid-fastify","last_synced_at":"2026-04-13T23:31:07.781Z","repository":{"id":281433008,"uuid":"945231628","full_name":"just-shadyumbrella/vite-solid-fastify","owner":"just-shadyumbrella","description":"A simple example to develop front-end app with Vite and SolidJS as well as Fastify backend support through Vite's `server.proxy` config, and bundled with Rollup.","archived":false,"fork":false,"pushed_at":"2025-03-11T02:15:39.000Z","size":40,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T05:21:07.469Z","etag":null,"topics":["fastify","fastify-boilerplate","fastifyjs","rollup","rollupjs","rollupjs-boilerplate","solid","solidjs","solidjs-boilerplate","vite","vitejs"],"latest_commit_sha":null,"homepage":"","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/just-shadyumbrella.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-03-09T00:26:29.000Z","updated_at":"2025-03-11T02:15:42.000Z","dependencies_parsed_at":"2025-03-09T03:26:01.279Z","dependency_job_id":"dcd11dbc-eb98-4a05-beff-36ef03915445","html_url":"https://github.com/just-shadyumbrella/vite-solid-fastify","commit_stats":null,"previous_names":["just-shadyumbrella/vite-solid-fastify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/just-shadyumbrella/vite-solid-fastify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-shadyumbrella%2Fvite-solid-fastify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-shadyumbrella%2Fvite-solid-fastify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-shadyumbrella%2Fvite-solid-fastify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-shadyumbrella%2Fvite-solid-fastify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/just-shadyumbrella","download_url":"https://codeload.github.com/just-shadyumbrella/vite-solid-fastify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-shadyumbrella%2Fvite-solid-fastify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31775692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastify","fastify-boilerplate","fastifyjs","rollup","rollupjs","rollupjs-boilerplate","solid","solidjs","solidjs-boilerplate","vite","vitejs"],"created_at":"2025-03-23T05:20:12.420Z","updated_at":"2026-04-13T23:31:07.741Z","avatar_url":"https://github.com/just-shadyumbrella.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite + Solid ~ Rollup + Fastify\n\nA simple example to develop front-end app with Vite and SolidJS, as well as Fastify back-end support through Vite's [`server.proxy`](https://vite.dev/config/server-options#server-proxy) [config](./vite.config.ts#L15) and bundled with Rollup.\n\n## Usage\n\n```bash\nnpm install # or pnpm install or yarn install\n```\n\nStart backend server (first) and Vite dev server\n\n```bash\nnpm run dev:backend\n\n# Open seperate terminal\nnpm run dev\n```\n\n## Build\n\n```bash\nnpm run build\n```\n\nOr run this separately\n\n```bash\n# Client\nnpm run build:client\n\n# Server\nnpm run build:server\n```\n\nYou can now serve the production build with `npm run preview`. Or just run `node .` at [`dist`](./dist/index.js) folder, it's generally fully portable and minified by `esbuild`. You can adjust the build output by editing the [`vite.config.ts`](./vite.config.ts) file for front-end and [`rollup.config.ts`](./rollup.config.ts) for back-end.\n\nThe API endpoint also works alongside [Solid Router](https://docs.solidjs.com/solid-router), including 404 and 500 error pages. Check out [`src/client/index.tsx`](./src/client/index.tsx#L23) and see how the Fastify server handles SPA requests in [`src/server/index.ts`](./src/server/index.ts#L34).\n\n### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)\n\n## Deployment\n\nLearn more about deploying your application with the [documentations](https://vite.dev/guide)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust-shadyumbrella%2Fvite-solid-fastify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjust-shadyumbrella%2Fvite-solid-fastify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust-shadyumbrella%2Fvite-solid-fastify/lists"}