Skip to content

πŸš€βš‘βš‘πŸ‘½ React boilerplate for starter with React18, Tailwind CSS v3.3.3, Material-UI and Typescript. ⚑ Made with developer experience first: Vite + React + Typescript + Eslint + Prettier + Husky + Lint-Staged + React-Router-Dom + Axios. It helps you use tanstack-react-query + axios to call api. I think it will be usefull for you!

Notifications You must be signed in to change notification settings

sonht113/react-boilerplate-for-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Boilerplate and Starter for React JS 18+, Material-UI, Tailwind CSS v3.3 and Typescript

React js starter banner

πŸš€πŸš€πŸš€ Boilerplate and Starter for React.js, Material-UI, Tailwind CSS and TypeScript ⚑️ Made with developer experience first: React.js, TypeScript, Axios, ESLint, Prettier, Husky, Lint-Staged, VSCode, PostCSS, Tailwind CSS.

Clone this project and use it to create your own React.js project.

Features

  • ⚑ React.js
  • ⚑ Material-UI
  • πŸ”₯ Type checking TypeScript
  • πŸ’Ž Integrate with Tailwind CSS
  • βœ… Strict Mode for TypeScript and React 18
  • πŸ“ Linter with ESLint (default NextJS, NextJS Core Web Vitals, Tailwind CSS and Airbnb configuration)
  • πŸ’– Code Formatter with Prettier
  • 🦊 Husky for Git Hooks
  • 🚫 Lint-staged for running linters on Git staged files
  • πŸ—‚ VSCode configuration: Debug, Settings, Tasks and extension for PostCSS, ESLint, Prettier, TypeScript, Jest

Requirements

  • Node.js 16+ and pnpm

Getting started

Run the following command on your local environment:

git clone --depth=1 https://github.com/sonht113/react-boilerplate-for-starter.git
cd my-project-name
pnpm install

Then, you can run locally in development mode with live reload:

pnpm run dev

Open http://localhost:5173 with your favorite browser to see your project.

.
β”œβ”€β”€ README.md                       # README file
β”œβ”€β”€ .github                         # GitHub folder
β”œβ”€β”€ .husky                          # Husky configuration
β”œβ”€β”€ public                          # Public assets folder
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ apis                        # Common apis folder
β”‚   β”œβ”€β”€ components                  # Component folder
β”‚   β”œβ”€β”€ data                        # Data constants JS Pages
β”‚   └── features                    # Features folder
β”‚   β”œβ”€β”€ hooks                       # Hooks customs folder
β”‚   β”œβ”€β”€ layout                      # Layout Pages
β”‚   └── pages                       # React JS Pages
β”‚   β”œβ”€β”€ provider                    # Provider folder
β”‚   └── routes                      # Routes folder
β”‚   β”œβ”€β”€ ts                          # Type and Enum folder
β”‚   β”œβ”€β”€ utils                       # Utility functions
β”œβ”€β”€ tailwind.config.js              # Tailwind CSS configuration
└── tsconfig.json                   # TypeScript configuration

Customization

  • src/index.css: your CSS file using Tailwind CSS
  • src/main.tsx: default theme

You have access to the whole code source if you need further customization. The provided code is only example for you to start your project. The sky is the limit πŸš€.


Made with β™₯ by TrongSon

About

πŸš€βš‘βš‘πŸ‘½ React boilerplate for starter with React18, Tailwind CSS v3.3.3, Material-UI and Typescript. ⚑ Made with developer experience first: Vite + React + Typescript + Eslint + Prettier + Husky + Lint-Staged + React-Router-Dom + Axios. It helps you use tanstack-react-query + axios to call api. I think it will be usefull for you!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published