This is a Github template repo that can be used for rapid application prototyping of React TypeScript applications:
- React 18
- Vite / Vitest setup
- Prettier & Eslint setup (strict ruleset -- check the
.eslintrc
contents) - Github Actions CI & deployment workflows
- Git pre-commit hook setup (
husky
&lint-staged
) - Dependency management via Renovate
- Package management via pnpm
- CSS Reset
Make sure to update the following if using the template:
- The LICENSE file.
- All references to the string
react-app-template-ts
in package.json, package-lock.json, and vite.config.js files
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000/react-app-template-ts/ to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Your app is ready to be deployed!
You can learn more in the Vite documentation.
To learn React, check out the React documentation.