Skip to content

About

A professional, scalable React 19 + Vite + TailwindCSS admin dashboard template with routing, Redux Toolkit, RTK Query, and i18n support. Ready for enterprise apps, rapid MVPs, and future Ant Design integration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Admin Template

A professional admin dashboard template built with React 19, Vite, TypeScript, TailwindCSS, Redux Toolkit, RTK Query, and react-i18next. This template provides a modern structure with lazy-loaded routing, state management, internationalization, and a responsive UI layout – ready to scale for enterprise-grade apps or quick MVPs.


πŸš€ Features

  • βš›οΈ React 19 with react-router-dom v6 for navigation
  • ⚑ Vite for fast development and optimized builds
  • 🎨 TailwindCSS utility-first styling
  • 🧠 Redux Toolkit with RTK Query for scalable state and API management
  • 🌍 react-i18next internationalization (i18n) support
  • 🧩 Modular architecture with lazy-loaded pages via React.lazy + Suspense
  • πŸ–ΌοΈ Shared layout with persistent Sidebar and Header
  • πŸŒ€ Global loading spinner for route transitions
  • 🧱 Ready for Ant Design integration

πŸ“ Folder Structure

src/
β”œβ”€β”€ main.tsx              # App entry point
β”œβ”€β”€ App.tsx               # Root component with routes
β”œβ”€β”€ i18n/                 # i18n configuration and translations
β”œβ”€β”€ layout/               # Shared layout components (Header, Sidebar, Layout)
β”œβ”€β”€ pages/                # Lazy-loaded page views
β”œβ”€β”€ store/                # Redux store and RTK Query setup
β”œβ”€β”€ routes/               # Route definitions (optional split)
β”œβ”€β”€ components/           # Reusable components (e.g. Spinner)
└── styles/               # Tailwind global styles

πŸ“¦ Getting Started

1. Clone the repo

git clone https://github.com/Narek-JS/admin-template.git
cd admin-template

2. Install dependencies

npm install

3. Start the dev server

npm run dev

4. Build for production

npm run build

🌍 i18n

  • English (en) and Armenian (hy) translations
  • Easily switch language via the <LanguageSwitcher /> in the header
  • All translation keys defined in src/i18n/locales/{lng}/translation.json

πŸ§ͺ Extending

  • Add more pages in src/pages and define their routes in App.tsx
  • Add new API endpoints using RTK Query in src/store/api.ts
  • Integrate UI libraries like Ant Design or ShadCN when ready

πŸ“œ License

MIT β€” feel free to use and modify for your own projects.


πŸ™Œ Author

Built with ❀️ by Narek Petrosyan πŸ“« Email: narek.petrosyan.005@gmail.com 🌐 Portfolio: narek.portfolo.am

About

A professional, scalable React 19 + Vite + TailwindCSS admin dashboard template with routing, Redux Toolkit, RTK Query, and i18n support. Ready for enterprise apps, rapid MVPs, and future Ant Design integration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages