(r)eact (a)pp (t)emplate!
a template to quickly start building react applications using tanstack router and shad.
# 1. clone the repo
git clone https://github.com/joseph-beck/rat
# 1.1 optionally remove existing git repo and init your own
rm -rf .git
git init
# 2. install pnpm if missing
npm i -g pnpm
# 3. install packages
pnpm install
# 4. run your app
pnpm run dev
# 5. connect on localhost:5173!- React
- Vite
- Vitest
- TanStack Router
- pnpm
- TailwindCSS
- Playwright
| Command | Usage |
|---|---|
| dev | Run your app! |
| build | Build your app! |
| fmt | Check the formatting of your app with prettier. |
| fmt:fix | Format files in your app with prettier. |
| e2e | End to end testing using Playwright. |
| test | Unit testing using Vitest. |
| test:coverage | Get a coverage report of your unit test with Vitest. |
| lint | Lint your project using Eslint |
| lint:fix | Fix any linting issues automatically with Eslint. |
| bundle:analyse | Create a graphical representation of the bundle with sizes. |