/react-vite-tailwind-starter

A starter template containing some pretty neat stuff. A stack I've come to love and admire.

Primary LanguageJavaScriptMIT LicenseMIT

React Vite Tailwind Starter

A starter template containing some pretty neat stuff. A stack I've come to love and admire.

Stack Included

  1. React v18
  2. Vite v2
  3. Tailwind CSS v3
  4. Material UI v5
  5. Axios, Yup, Formik, React Router, React Query

What's Included

  1. Axios global instance
    • Attach token with each request via interceptor
    • Log requests/responses
  2. Basic Router Setup
  3. Protected Routes Composable Component
  4. Signin Page with state management
  5. Basic Configs and Env Vars
  6. Working setup of Tailwind, Material UI
  7. Working setup of Yup & Formik
  8. Global Snackbar Notifications

Usage

  1. Run npm run dev to start dev server
  2. Run npm run build to build
  3. Run npm run preview to, you guessed it, preview.

TODO

  1. Add State Management lib (Zustand preferred)
  2. Add Documentation lib

Pull Requests

Pull requests are highly appreciated.