{"id":18613084,"url":"https://github.com/eduzz/reactjs-vite-boilerplate","last_synced_at":"2025-07-29T16:17:42.049Z","repository":{"id":42584250,"uuid":"417272557","full_name":"eduzz/reactjs-vite-boilerplate","owner":"eduzz","description":"This is the latest boilerplate for building front-end apps","archived":false,"fork":false,"pushed_at":"2022-03-31T01:59:26.000Z","size":782,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-01-19T16:10:38.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eduzz.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}},"created_at":"2021-10-14T20:26:04.000Z","updated_at":"2021-10-22T17:46:47.000Z","dependencies_parsed_at":"2022-09-21T21:11:00.535Z","dependency_job_id":null,"html_url":"https://github.com/eduzz/reactjs-vite-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduzz%2Freactjs-vite-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduzz%2Freactjs-vite-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduzz%2Freactjs-vite-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduzz%2Freactjs-vite-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduzz","download_url":"https://codeload.github.com/eduzz/reactjs-vite-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243307333,"owners_count":20270256,"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":[],"created_at":"2024-11-07T03:19:47.072Z","updated_at":"2025-03-12T22:43:59.106Z","avatar_url":"https://github.com/eduzz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Front-End boilerplate build with Vite\n\nThis is a [ReactJS](https://reactjs.org) + [Vite](https://vitejs.dev) boilerplate to be used with [Houston](https://eduzz.github.io/houston/inicio).\n\n- [Front-End boilerplate build with Vite](#front-end-boilerplate-build-with-vite)\n  - [What is inside?](#what-is-inside)\n  - [Getting Started](#getting-started)\n    - [Install](#install)\n    - [Lint](#lint)\n    - [Build](#build)\n    - [Test](#test)\n  - [Generate automated components](#generate-automated-components)\n  - [Some differences](#some-differences)\n  - [License](#license)\n\n## What is inside?\n\nThis project uses many tools like:\n\n- [ReactJS](https://reactjs.org)\n- [Vite](https://vitejs.dev)\n- [TypeScript](https://www.typescriptlang.org)\n- [Jest](https://jestjs.io)\n- [Testing Library](https://testing-library.com)\n- [React Router](https://reactrouter.com)\n- [Redux Toolkit](https://redux-toolkit.js.org)\n- [Houston](https://eduzz.github.io/houston/inicio)\n- [Eslint](https://eslint.org)\n- [Prettier](https://prettier.io)\n\n## Getting Started\n\n### Install\n\nCreate the project.\n\n```bash\nnpx degit eduzz/reactjs-vite-boilerplate my-app\n```\n\nAccess the project directory.\n\n```bash\ncd my-app\n```\n\nInstall dependencies.\n\n```bash\nyarn install\n```\n\nServe with hot reload at \u003chttp://localhost:3000\u003e.\n\n```bash\nyarn dev\n```\n\n### Lint\n\n```bash\nyarn lint\n```\n\n### Build\n\n```bash\nyarn build\n```\n\n### Test\n\n```bash\nyarn test\n```\n\n## Generate automated components\n\nYou can generate components 40x more fast using the following command:\n\n```bash\nyarn generate Component\n```\n\nThis will generate a new `Component` in the `components` directory with a default `index.tsx` and `test.tsx` file.\n\n```bash\nsrc/components\n└── Component\n    ├── index.tsx\n    └── test.tsx\n```\n\nThat's your new component, ready to be implemented.\n\n## Some differences\n\nVite exposes `env` variables on the special `import.meta.env object` (instead of `process.env object`).\n\nSome built-in variables are available in all cases:\n\n```ts\nimport.meta.env.VITE_APP_NAME\n```\n\nYou can see more [here](https://vitejs.dev/guide/env-and-mode.html).\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduzz%2Freactjs-vite-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduzz%2Freactjs-vite-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduzz%2Freactjs-vite-boilerplate/lists"}