React Query Zustand Ts Vite Boilerplate

screenshot of React Query Zustand Ts Vite Boilerplate

React Query Zustand Ts Vite Boilerplate

A React boilerplate with Typescript using Vite. Includes React-query, Zustand, Tailwindcss, EsLint + Prettier, Husky Commit Lint, Jest with PWA support


React Query, Zustand, TypeScript & Vite Boilerplate is a template repository that allows users to quickly set up a project using React, React Query, Zustand, TypeScript, and Vite. It aims to provide a scalable structure and essential configurations to kick-start the development of your next application.


  • Faster build with Vite
  • State management using Zustand
  • Data fetching using React Query and Axios
  • TypeScript for static typing
  • Pre-configured with ESLint and Prettier for code linting and formatting
  • Includes example components to get started quickly


To get started with the template repository, follow these steps:

  1. Clone the repository.
  2. Install the required dependencies.
  3. Run the project locally.

Clone the repository

You can clone the repository by running the following command:

git clone [repository_url]

Install Dependencies

Install the required dependencies by navigating to the project directory and running the following command:

npm install

Run the Project Locally

To run the project locally, execute the following command:

npm start


React Query, Zustand, TypeScript & Vite Boilerplate is a template repository that provides a comprehensive set of tools and configurations for developing React applications. With features like state management, data fetching, TypeScript support, and code linting, it offers a solid foundation for building scalable and maintainable projects. The boilerplate also includes example components to help users get started quickly.


React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components


Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects


SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.


Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.


ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.


A Progressive Web App (PWA) is a type of web application that uses modern web technologies to provide a native app-like experience to users, including offline functionality, push notifications, and device hardware access. PWAs can be installed on a user's home screen and launched like a traditional app, but do not require a separate app store listing or download.


TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.


Zustand is a lightweight state management library for React that provides a simple and intuitive API for managing state in your application. It allows developers to easily create and manage global state, and provides a powerful set of tools for optimizing performance and improving developer productivity. Zustand is designed to be easy to use and easy to learn, making it a popular choice for developers of all skill levels.