{"id":20614216,"url":"https://github.com/technicalparadox/reactvitemuicfworkerts-template","last_synced_at":"2026-04-14T03:31:27.528Z","repository":{"id":255762352,"uuid":"853561612","full_name":"TechnicalParadox/ReactViteMuiCFWorkerTS-Template","owner":"TechnicalParadox","description":"A template repository that has basic setup for React/Vite, mui/material css framework, CF worker backend in typescript. Features dynamic cors policy for backend and baseUrl for frontend to aid in local development.","archived":false,"fork":false,"pushed_at":"2024-09-06T23:23:47.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T14:56:02.112Z","etag":null,"topics":["cf-workers","materialui","react","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechnicalParadox.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":"2024-09-06T23:09:51.000Z","updated_at":"2025-03-06T23:02:49.000Z","dependencies_parsed_at":"2024-09-07T02:39:44.310Z","dependency_job_id":"9a8d708c-024a-4297-8c7e-d3c1cfc577ef","html_url":"https://github.com/TechnicalParadox/ReactViteMuiCFWorkerTS-Template","commit_stats":null,"previous_names":["technicalparadox/reactvitemuicfworkerts-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/TechnicalParadox/ReactViteMuiCFWorkerTS-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechnicalParadox%2FReactViteMuiCFWorkerTS-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechnicalParadox%2FReactViteMuiCFWorkerTS-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechnicalParadox%2FReactViteMuiCFWorkerTS-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechnicalParadox%2FReactViteMuiCFWorkerTS-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechnicalParadox","download_url":"https://codeload.github.com/TechnicalParadox/ReactViteMuiCFWorkerTS-Template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechnicalParadox%2FReactViteMuiCFWorkerTS-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["cf-workers","materialui","react","typescript","vite"],"created_at":"2024-11-16T11:12:13.616Z","updated_at":"2026-04-14T03:31:27.511Z","avatar_url":"https://github.com/TechnicalParadox.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Vite/React, MUI/Material v6, Cloudflare Worker, TS Template\n\n0. `npm install` in both frontend and backend folders.\n1. Create `backend/.dev.vars` and set `environment=\"development\"`\n2. Adjust name of backend worker in .wrangler.toml\n3. Adjust names in frontend and backend package.json\n4. Adjust domains in `frontend/src/helpers/environment_detection.ts` and in `backend/src/index.ts` to be actual site domains, development domains should work as is.\n5. In frontend, `npm run dev` to start vite development server\n6. In backend, `npx wrangler init` to start cf wroker development server\n7. You now have a basic Vite/React site with Material UI v6 toggleable light/dark theme and Cloudflare worker integration!\n\nPackages: Hono, Oslo, @mui/material, react, etc.\n\nThe CF worker has a Cors policy that allows requests from localhost when in development and prodDomains in production.\nThe frontend has a baseUrl constant to automatically adjust fetches to the cloudflare worker based on local development/production environment.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalparadox%2Freactvitemuicfworkerts-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnicalparadox%2Freactvitemuicfworkerts-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalparadox%2Freactvitemuicfworkerts-template/lists"}