Admin-Dashboard Tailwind Templates

Admin Dashboard

"A feature-rich admin dashboard application with data visualization, interactive charts, and responsive design. Built using React, MUI, Nivo, and Tailwind CSS."

Admin Dashboard

A modern, feature-rich admin dashboard built with React, TypeScript, and Material-UI.

Features

  • šŸŽØ Modern and responsive UI with Material-UI
  • šŸ“Š Interactive charts and data visualization with Nivo
  • šŸ“… Calendar integration with FullCalendar
  • šŸ“± Responsive design for all screen sizes
  • šŸ”’ Authentication and authorization
  • 🌐 RESTful API integration
  • šŸ“ˆ Data grid for efficient data management
  • šŸŽ­ Dark/Light theme support
  • šŸ” Search functionality
  • šŸ“± Mobile-friendly navigation

Tech Stack

  • React 18
  • TypeScript
  • Material-UI
  • React Query for data fetching
  • Zustand for state management
  • React Router for navigation
  • Axios for API calls
  • Vite for build tooling
  • Vitest for testing
  • ESLint + Prettier for code quality
  • Husky + lint-staged for git hooks

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/admin-dashboard.git
    cd admin-dashboard
    
  2. Install dependencies:

    npm install
    # or
    yarn
    
  3. Copy the environment file and update it with your values:

    cp .env.example .env
    
  4. Start the development server:

    npm run dev
    # or
    yarn dev
    

Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Run ESLint
  • npm run format - Format code with Prettier
  • npm test - Run tests
  • npm run test:coverage - Run tests with coverage report

Project Structure

src/
ā”œā”€ā”€ components/        # Reusable components
ā”œā”€ā”€ pages/            # Page components
ā”œā”€ā”€ services/         # API services
ā”œā”€ā”€ store/            # State management
ā”œā”€ā”€ hooks/            # Custom hooks
ā”œā”€ā”€ utils/            # Utility functions
ā”œā”€ā”€ types/            # TypeScript types
ā”œā”€ā”€ styles/           # Global styles
└── App.tsx          # Root component

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Testing

The project uses Vitest for testing. Run tests with:

npm test
# or
yarn test

Deployment

The project is configured for deployment on Vercel. Simply push to the main branch to trigger a deployment.

Code Quality

  • ESLint for code linting
  • Prettier for code formatting
  • Husky for git hooks
  • lint-staged for running checks on staged files

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Material-UI for the component library
  • Nivo for the charting library
  • FullCalendar for the calendar component

šŸš€ Live Demo

Visit the live admin dashboard here


šŸ“ø Features

  • Interactive Charts: Dynamic charts and graphs powered by Nivo for clear data visualization.
  • User-Friendly UI: Built with MUI components for a clean and consistent user interface.
  • Responsive Design: Optimized for mobile, tablet, and desktop screens.
  • Dark/Light Mode: Toggle between dark and light themes for better user experience.
  • Data Management: Organized sections for managing users, analytics, and settings.
  • Fast Performance: Lightweight and optimized for speed using modern React libraries.

šŸ› ļø Built With

  • React: Component-based front-end library for building UI.
  • MUI (Material UI): Pre-styled React components for consistent design.
  • Nivo Charts: Interactive and customizable charts for data visualization.
  • Tailwind CSS: Utility-first CSS framework for responsive and modern styling.
  • React Router: For smooth page navigation and routing.

Top categories

Loading Svelte Themes