{"id":50492792,"url":"https://github.com/alexferl/solid-boilerplate","last_synced_at":"2026-06-02T04:30:40.864Z","repository":{"id":338263606,"uuid":"1154966196","full_name":"alexferl/solid-boilerplate","owner":"alexferl","description":"A lightweight starter template for building fast and modern web apps using Solid and Vite.","archived":false,"fork":false,"pushed_at":"2026-04-22T00:23:53.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-22T02:35:31.626Z","etag":null,"topics":["biomejs","solid","solidjs","solidjs-app","solidjs-boilerplate","vite","vitejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/alexferl.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-11T01:09:05.000Z","updated_at":"2026-04-22T00:23:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/alexferl/solid-boilerplate","commit_stats":null,"previous_names":["alexferl/solid-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/alexferl/solid-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Fsolid-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Fsolid-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Fsolid-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Fsolid-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexferl","download_url":"https://codeload.github.com/alexferl/solid-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Fsolid-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33806987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"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":["biomejs","solid","solidjs","solidjs-app","solidjs-boilerplate","vite","vitejs"],"created_at":"2026-06-02T04:30:39.291Z","updated_at":"2026-06-02T04:30:40.859Z","avatar_url":"https://github.com/alexferl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# solid-boilerplate\n\n`solid-boilerplate` is a lightweight and modern starter template designed to help developers quickly build web applications using [Solid](https://solidjs.com/) and [Vite](https://vite.dev/). This boilerplate provides an optimized development environment with fast builds, hot module replacement, and production-ready configurations.\n\n## Features\n- Solid: A performant and reactive JavaScript library for building user interfaces.\n- Vite: A blazing-fast build tool for modern web projects.\n- Development Server: Instant feedback with hot module replacement during development.\n- Production Build: Optimized builds ready for deployment.\n- Linting: Integrated code quality checks using [Biome](https://biomejs.dev/).\n\n## Getting Started\n\n### Development\n- `npm run dev` - Starts a dev server at http://localhost:5173/\n- `npm run build` - Builds for production, emitting to `dist/`. Pre-renders all found routes in app to static HTML\n- `npm run preview` - Starts a server at http://localhost:4173/ to test production build locally\n\n### Testing\n- `npm test` - Runs unit tests using Vitest\n- `npm run test:ui` - Runs tests with Vitest's interactive UI\n- `npm run coverage` - Runs tests and generates a code coverage report\n- `npm run coverage:ui` - Runs tests with coverage and opens the HTML report in your browser\n\n### Code Quality\n- `npm run lint` - Runs Biome to check and automatically fix code style issues\n\n## Deployment\n\n### Docker\n\nThis boilerplate includes a production-ready Docker setup using Caddy as the web server.\n\n**Build the Docker image:**\n```bash\ndocker build -t solid-app .\n```\n\n**Run the container:**\n```bash\ndocker run -p 80:80 -p 443:443 solid-app\n```\n\nThe application will be available at http://localhost\n\n### Caddy Configuration\n\nThe included Caddy configuration (`etc/caddy/Caddyfile`) provides:\n\n- **SPA Support**: Automatic routing to `index.html` for client-side routing\n- **Security Headers**: Comprehensive security headers including CSP, COOP, COEP, and more\n- **Gzip/Zstd Compression**: Efficient content encoding for faster loads\n- **Health Check**: `/healthz` endpoint for monitoring\n- **Caching**: Immutable asset caching for JavaScript files\n\n### Production Features\n\n- Multi-stage Docker build for optimized image size\n- Non-root user for enhanced security\n- Static file serving with proper MIME types\n- Production-ready security configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2Fsolid-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexferl%2Fsolid-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2Fsolid-boilerplate/lists"}