{"id":39881316,"url":"https://github.com/robertwayne/template-axum-solidjs-spa","last_synced_at":"2026-01-18T14:31:03.212Z","repository":{"id":163528538,"uuid":"611120029","full_name":"robertwayne/template-axum-solidjs-spa","owner":"robertwayne","description":"Full-stack SPA template using SolidJS, TypeScript, and Tailwind v4. Backed by Rust with Axum and PostgreSQL. ","archived":false,"fork":false,"pushed_at":"2025-05-05T19:04:21.000Z","size":186,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T15:09:35.162Z","etag":null,"topics":["axum","lightningcss","postgresql","rust","solidjs","spa","tailwind","tailwind-v4","template","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertwayne.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":"2023-03-08T06:37:39.000Z","updated_at":"2025-05-05T19:04:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c9a9a3c-ada8-43bf-9af9-ba97b26fbd25","html_url":"https://github.com/robertwayne/template-axum-solidjs-spa","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/robertwayne/template-axum-solidjs-spa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertwayne%2Ftemplate-axum-solidjs-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertwayne%2Ftemplate-axum-solidjs-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertwayne%2Ftemplate-axum-solidjs-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertwayne%2Ftemplate-axum-solidjs-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertwayne","download_url":"https://codeload.github.com/robertwayne/template-axum-solidjs-spa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertwayne%2Ftemplate-axum-solidjs-spa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28537616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["axum","lightningcss","postgresql","rust","solidjs","spa","tailwind","tailwind-v4","template","typescript","vite"],"created_at":"2026-01-18T14:31:03.051Z","updated_at":"2026-01-18T14:31:03.197Z","avatar_url":"https://github.com/robertwayne.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template: Axum / SolidJS SPA\n\n## Backend\n\n- **[Axum](https://github.com/tokio-rs/axum)**\n- **[PostgreSQL](https://www.postgresql.org)**\n- **[Mimalloc](https://github.com/purpleprotocol/mimalloc_rust)**\n\n## Frontend\n\n- **[SolidJS](https://github.com/solidjs/solid)** + **[Solid Router](https://github.com/solidjs/solid-router)**\n- **[TypeScript](https://www.typescriptlang.org)**\n- **[Tailwind CSS v4](https://tailwindcss.com)**\n- **[Bun](https://bun.sh/)**\n- **[Vite](https://vitejs.dev/)**\n\n## Getting Started\n\n- Clone the repository: `git clone https://github.com/robertwayne/template-axum-solidjs-spa`\n\n- Change `.env.TEMPLATE` to `.env` and set your Postgres credentials _(if not using defaults)_.\n\n- Install your dependencies with `bun i`.\n\n- Build the client with `bun run build` from inside the `/client` directory. _Alternatively, you can use `bun dev` to run the client with the vite dev server._\n\n- Run the server with `cargo run` from inside the `/server` directory.\n\n  - If you're serving from axum, visit `http://127.0.0.1:3000`.\n  - If you're serving from vite, visit `http://127.0.0.1:8000`.\n\n## Client Notes\n\n- Async, naive prefetching for route links.\n- Light/Dark mode themes built-in.\n- Responsive navigation menu built-in.\n\n## Server Notes\n\n- Sets default Cache-Control headers via a middleware function.\n- Uses tower-http CORS and Compression _(brotli)_ middleware.\n- Uses `mimalloc` instead of the default allocator.\n\n_Remember, this is a template. Make sure you review the code and adjust it to your projects needs._\n\n## Additional Scripts\n\nCommand     | Action\n----------- | ----------------------------------------------------------------\n./update.sh | Updates the dependencies of both the client and server projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertwayne%2Ftemplate-axum-solidjs-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertwayne%2Ftemplate-axum-solidjs-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertwayne%2Ftemplate-axum-solidjs-spa/lists"}