{"id":16860445,"url":"https://github.com/webpro/vars","last_synced_at":"2026-04-11T19:04:53.786Z","repository":{"id":66134217,"uuid":"200673377","full_name":"webpro/vars","owner":"webpro","description":"Common patterns in Vue, Angular, React and Svelte","archived":false,"fork":false,"pushed_at":"2019-10-12T09:05:16.000Z","size":236,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T22:31:33.429Z","etag":null,"topics":["angular","framework","javascript","javascript-framework","react","svelte","vue"],"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/webpro.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}},"created_at":"2019-08-05T14:39:18.000Z","updated_at":"2023-09-08T17:56:36.000Z","dependencies_parsed_at":"2023-05-04T08:32:40.151Z","dependency_job_id":null,"html_url":"https://github.com/webpro/vars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fvars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fvars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fvars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fvars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webpro","download_url":"https://codeload.github.com/webpro/vars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247328224,"owners_count":20921149,"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":["angular","framework","javascript","javascript-framework","react","svelte","vue"],"created_at":"2024-10-13T14:24:08.623Z","updated_at":"2025-12-30T21:55:28.652Z","avatar_url":"https://github.com/webpro.png","language":"JavaScript","readme":"# VARS\n\nHow to implement common patterns in each of these popular frameworks:\n\n- [Vue](https://vuejs.org) (+ [Nuxt](https://nuxtjs.org)) → [vue.webpro.now.sh](https://vue.webpro.now.sh)\n- [Angular](https://angular.io) → [angular.webpro.now.sh](https://angular.webpro.now.sh)\n- [React](https://reactjs.org) (+ [Next](https://nextjs.org)) → [react.webpro.now.sh](https://react.webpro.now.sh)\n- [Svelte](https://svelte.dev) (+ [Sapper](https://sapper.svelte.dev))\n\nNuxt/Next/Sapper are included, as they solve things like routing and SSR out of the box.\n\n## Apps/features\n\n### Hacker News\n\n- PWA (Lighthouse: 💯)\n- List + detail view\n- Dynamic routing + code-splitting\n- SSR\n- Global CSS\n\n### CRUD\n\n- Based on [7GUIs → CRUD](https://eugenkiss.github.io/7guis/tasks/#crud)\n- Manage state with CRUD (create, read, update, delete) operations\n- The [Svelte CRUD example](https://svelte.dev/examples#7guis-crud)\n\n## Status\n\n| Feature     | Vue | Angular | React | Svelte |\n| :---------- | :-: | :-----: | :---: | :----: |\n| Hacker News |  ✔  |    ✔    |   ✔   |   ✔    |\n| CRUD        |  ✔  |    x    |   ✔   |   ✔    |\n| Form        |  x  |    x    |   x   |   x    |\n| ...?        |  x  |    x    |   x   |   x    |\n| ...?        |  x  |    x    |   x   |   x    |\n\nAlso see [issues](https://github.com/webpro/vars/issues) and [PRs](https://github.com/webpro/vars/pulls).\n\n## Installation, etc.\n\nEach framework has its own folder, and the same `npm` commands.\n\n```\ngit clone https://github.com/webpro/vars.git\ncd vars\ncd [angular|react|svelte|vue]\nnpm install\nnpm run dev     # development\nnpm run build   # create production build\nnpm start       # run production build\n```\n\n## Inspiration/links\n\n- [7GUIs](https://eugenkiss.github.io/7guis/)\n- [HNPWA](https://hnpwa.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Fvars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebpro%2Fvars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Fvars/lists"}