๐๐๐ 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.
- โก 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
- Node.js 16+ and pnpm
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
src/index.css
: your CSS file using Tailwind CSSsrc/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