An open API service indexing awesome lists of open source software.

https://github.com/mohmmedraad/TanStacked

React + Tanstack Router + Shadcn + Tailwind CSS v4 And Biome with Rsbuild boilerplate.
https://github.com/mohmmedraad/TanStacked

Last synced: about 1 month ago
JSON representation

React + Tanstack Router + Shadcn + Tailwind CSS v4 And Biome with Rsbuild boilerplate.

Awesome Lists containing this project

README

        

# React + Tailwind CSS + RSBuild Boilerplate

> A minimal, high-performance React boilerplate featuring TanStack Router, ShadCN, Tailwind CSS v4, Biome, and RSBuild.

This boilerplate is designed to be as lightweight and unopinionated as possible, allowing you to quickly start developing and deploying React applications with modern tooling.

## ๐Ÿš€ Features

- โšก **Blazing Fast** โ€“ Optimized for performance with RSBuild.
- ๐Ÿ”„ **Fast Refresh** โ€“ Instant feedback during development.
- ๐Ÿ—๏ธ **React 19** โ€“ The latest version of React.
- ๐Ÿ“‚ **Routing & Lazy Loading** โ€“ Efficiently load routes on demand.
- ๐ŸŽจ **Tailwind CSS v4** โ€“ Fully styled with utility-first CSS.
- ๐Ÿ›  **ShadCN/UI** โ€“ Beautifully designed components.
- ๐Ÿ”’ **TypeScript** โ€“ Fully typed for safety and productivity.
- ๐Ÿ—บ **Typesafe Navigation** โ€“ Ensuring safe route handling.
- ๐Ÿ”€ **Hybrid Routing** โ€“ Mix file-based and code-based routing.
- ๐Ÿงน **Biome for Formatting & Linting** โ€“ Ensures clean and consistent code.

## ๐Ÿ“ฆ Installation

Clone the repository and install dependencies:

```sh
$ git clone https://github.com/mohmmedraad/TanStacked.git && cd TanStacked && pnpm install
```

## ๐Ÿ”ง Development

Copy `.env.example` to `.env` or `.env.local`:

```sh
$ cp .env.example .env
```

Start the development server:

```sh
$ pnpm dev
```

## ๐Ÿ—๏ธ Build

Generate a production-ready build:

```sh
$ pnpm build
```

## ๐Ÿš€ Deployment

### Deploying to Vercel

1. Push your code to a Git repository (GitHub, GitLab, or Bitbucket).
2. Go to [Vercel](https://vercel.com/) and create a new project.
3. Import your repository.
4. In the **Build and Output Settings**, set the **Output Directory** to `dist`.
5. Click **Deploy** and your project will be live!

## ๐Ÿ”— Useful Links

- [React](https://react.dev/)
- [TanStack Router](https://tanstack.com/router/latest)
- [RSBuild](https://rsbuild.dev/)
- [Tailwind CSS](https://tailwindcss.com/)
- [ShadCN/UI](https://ui.shadcn.com/)
- [Biome](https://biomejs.dev/)
- [Vercel](https://vercel.com/)

---

This boilerplate is your foundation for fast, modern, and scalable React applications. Happy coding! ๐ŸŽ‰