{"id":19357863,"url":"https://github.com/swiftsoftwaregroup/react-app-vite","last_synced_at":"2025-10-08T06:38:18.716Z","repository":{"id":254304232,"uuid":"846075503","full_name":"swiftsoftwaregroup/react-app-vite","owner":"swiftsoftwaregroup","description":"Simple React App using Vite","archived":false,"fork":false,"pushed_at":"2024-10-19T00:30:43.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T11:49:43.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swiftsoftwaregroup.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":"2024-08-22T13:39:06.000Z","updated_at":"2024-10-19T00:30:47.000Z","dependencies_parsed_at":"2025-01-06T18:25:12.858Z","dependency_job_id":"ecbd093e-ddfe-447a-a07f-a8f1f2cf570b","html_url":"https://github.com/swiftsoftwaregroup/react-app-vite","commit_stats":null,"previous_names":["swiftsoftwaregroup/react-app-vite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swiftsoftwaregroup/react-app-vite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Freact-app-vite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Freact-app-vite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Freact-app-vite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Freact-app-vite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swiftsoftwaregroup","download_url":"https://codeload.github.com/swiftsoftwaregroup/react-app-vite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Freact-app-vite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903014,"owners_count":26065785,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-10T07:09:28.827Z","updated_at":"2025-10-08T06:38:18.700Z","avatar_url":"https://github.com/swiftsoftwaregroup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-app-vite\n\nSimple React App using Vite\n\n## Setup for macOS\n\n### Nvm\n\n`nvm` is node.js version manager.\n\n```\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash\n```\n\nClose and reopen terminal.\n\n### Node.js\n\nInstall via `nvm`:\n\n```bash\nnvm install v20.15.1\n```\n\nMake sure you do not have default node set:\n\n```bash\nnvm unalias default\n```\n\nActivate node 20.15.1:\n\n```bash\nnvm use 20.15.1\n```\n\n### Configure npm\n\nConfigure `npm` (Node Package Manager) to save versions of packages in `packages.json`. This way you can have the same stable environment on all development machines:\n\n```bash\nnvm use 20.15.1\nnpm config set save=true\nnpm config set save-exact=true\n```\n\n## Development\n\n### Configure Project\n\n```bash\nsource configure.sh\n```\n\n### Run\n\nStart `dev` server:\n\n```bash\nnpm run dev\n```\n\nOpen application in default browser:\n\n```bash\nopen http://localhost:5173\n```\n\n### Build\n\nBuild (builds the app in `./dist`):\n\n```bash\nnpm run build\n```\n\nPreview build (serves `./dist` on http://localhost:4173):\n\n```bash\nnpm run preview\n```\n\n## How to create a new project\n\n### Create project\n\n```bash\nnpm create vite@latest . -- --template react\n```\n\nThe `react` template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\n### Configure HMR \n\n\u003e  HMR === Hot Module Reloading\n\nCurrently, two official plugins are available, that can be used in `vite.config.js`:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh (used by default)\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftsoftwaregroup%2Freact-app-vite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftsoftwaregroup%2Freact-app-vite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftsoftwaregroup%2Freact-app-vite/lists"}