{"id":22561754,"url":"https://github.com/ccssmnn/relaxed-spa","last_synced_at":"2025-04-10T10:15:08.009Z","repository":{"id":215725634,"uuid":"586311541","full_name":"ccssmnn/relaxed-spa","owner":"ccssmnn","description":"Develop \u0026 run your full stack spa without a build step using Deno, React \u0026 twind (TailwindCSS).","archived":false,"fork":false,"pushed_at":"2023-02-06T19:43:06.000Z","size":2789,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T03:46:39.674Z","etag":null,"topics":["deno","react","react-router","spa","tailwindcss","trpc","twind","typescript"],"latest_commit_sha":null,"homepage":"https://relaxed-spa.deno.dev","language":"TypeScript","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/ccssmnn.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}},"created_at":"2023-01-07T17:30:02.000Z","updated_at":"2024-08-15T06:09:40.000Z","dependencies_parsed_at":"2024-01-06T06:11:09.011Z","dependency_job_id":"840d0dee-16e8-490a-9a2c-6e4732c8ef79","html_url":"https://github.com/ccssmnn/relaxed-spa","commit_stats":null,"previous_names":["ccssmnn/relaxed-spa"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccssmnn%2Frelaxed-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccssmnn%2Frelaxed-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccssmnn%2Frelaxed-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccssmnn%2Frelaxed-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccssmnn","download_url":"https://codeload.github.com/ccssmnn/relaxed-spa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198893,"owners_count":21063629,"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":["deno","react","react-router","spa","tailwindcss","trpc","twind","typescript"],"created_at":"2024-12-07T22:09:33.483Z","updated_at":"2025-04-10T10:15:07.975Z","avatar_url":"https://github.com/ccssmnn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Relaxed SPA\n\nModern tooling and web standards are so good. You might not need a framework to\nbuild a great SPA. Bring your own everything. Go anywhere.\n\nThis should demonstrate how drastically tools like Deno \u0026 esbuild can simplify\nweb development. Checkout the app at\n[relaxed-spa.deno.dev](https://relaxed-spa.deno.dev)\n\nThe main utilities are the bundling setup and the live reloading.\n\nTo get started, clone the repo and run `deno task start`.\n\n## Goals\n\n- avoid a build step\n- ready for Deno Deploy\n- keep full control about request handling (as few abstractions as possible)\n- gradual disclosure of complexity\n\n## Advantages\n\nFully utilizing Deno, We can skip lots of tooling \u0026 vscode-extensions\n\n- no install step (well deno does download the dependencies behind the scenes)\n- no build step (ultra fast deployments)\n- write the scripts you may need in typescript \u0026 execute in deno (think database\n  seeding)\n- just-in-time client bundle generation (esbuild)\n- Tailwind-in-JS (no postcss / autoprefixer)\n- easily proxy or cache requests in deno and avoid cross origin requests (e.g.\n  Supabase API requests)\n- Built in testing\n- Built in TypeScript support (no extra tsc dependency)\n- Built in linting (no eslint + config + vscode extension)\n- Built in formatter (no prettier + vscode extension)\n- Built in server (no express, but you can always opt-in if you like)\n- Built in file-watching (no nodemon)\n- Built in compression (no compression middleware)\n\n## Used Libraries\n\n- React Router (\u003e= 6.4) has wonderful data loading APIs based on web\n  fundamentals\n- twind enables TailwindCSS-style utility classes without a build step\n\n## Caveats\n\n- no HMR, but HMR doesn't work well with React Router 6.4 anyway\n\n## Todo\n\nHow far can we get?\n\n- code splitting\n- example testing setup\n  - Component testing\n  - End-to-End testing\n- Add Supabase\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccssmnn%2Frelaxed-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccssmnn%2Frelaxed-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccssmnn%2Frelaxed-spa/lists"}