Skip to content

Limon00001/insightly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Author Contributor React JavaScript NPM GitHub TailwindCSS Visual Studio Code GitHub Copilot Google Chrome Vercel Read the Docs Vite

Modern Dashboard with Next.js and ShadCN UI

Project Banner

A modern, responsive dashboard application built with Next.js and ShadCN UI components, featuring data visualizations, user management, and a sleek design system.

✨ Features

  • πŸ“Š Rich Data Visualizations: Bar charts, area charts, and pie charts powered by Recharts
  • 🎨 Theme System: Light/Dark mode with system detection
  • πŸ“± Responsive Design: Mobile-first approach with adaptive layouts
  • 🧩 Modular Components: Highly reusable UI components
  • πŸ“ Todo Management: Interactive todo list with date picker
  • πŸ‘€ User Management: Profile pages and activity tracking

πŸš€ Tech Stack

πŸ“ Project Structure

project/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/                    # Next.js app router pages
β”‚   β”‚   β”œβ”€β”€ globals.css        # Global styles
β”‚   β”‚   β”œβ”€β”€ layout.tsx         # Root layout
β”‚   β”‚   β”œβ”€β”€ page.tsx           # Home page
β”‚   β”‚   β”œβ”€β”€ payments/          # Payments feature
β”‚   β”‚   └── users/            # User management
β”‚   β”œβ”€β”€ components/            # React components
β”‚   β”‚   β”œβ”€β”€ ui/               # ShadCN UI components
β”‚   β”‚   └── providers/        # Context providers
β”‚   β”œβ”€β”€ hooks/                # Custom React hooks
β”‚   └── lib/                  # Utility functions
β”œβ”€β”€ public/                   # Static assets
β”œβ”€β”€ components.json           # ShadCN configuration
β”œβ”€β”€ next.config.ts           # Next.js configuration
β”œβ”€β”€ tailwind.config.ts       # Tailwind CSS configuration
└── package.json             # Project dependencies

πŸ› οΈ Installation

  1. Clone the repository
git clone <repository-url>
cd project
  1. Install dependencies
npm install
  1. Start the development server
npm run dev
  1. Build for production
npm build

πŸ’‘ Key Features Explained

Dashboard Components

  • Charts

    • Area Chart: Time-series data visualization
    • Bar Chart: Comparative data visualization
    • Pie Chart: Distribution data visualization
  • Navigation

    • Sidebar: Collapsible main navigation
    • Navbar: Top navigation with theme toggle
    • Card-List: Reusable card grid system

User Interface

  • Form Elements

    • Input fields
    • Select dropdowns
    • Checkboxes
    • Date pickers
  • Interactive Components

    • Modal dialogs
    • Dropdown menus
    • Toast notifications
    • Tooltips

State Management

  • Theme context for appearance management
  • Sidebar state with cookie persistence
  • Form state handling with React Hook Form

🎨 Styling System

  • CSS Variables for theme colors
  • Tailwind utilities for rapid styling
  • Custom animations
  • Responsive breakpoints
  • Dark mode support

πŸ”’ Security Features

  • Secure session management
  • Form validation with Zod

πŸ“ˆ Performance

  • Optimized image loading
  • Font optimization
  • Code splitting

πŸ“ Code Style

  • TypeScript for type safety
  • ESLint configuration
  • Consistent naming conventions
  • Component documentation

πŸ”₯ Challenges Faced

Technical Challenges

  1. Component Integration

    • Ensuring proper hydration of server and client components
    • Managing component state across the application
  2. Performance Optimization

    • Optimizing chart rendering performance
    • Reducing bundle size with large number of components

Development Challenges

  1. Project Structure

    • Organizing components for maximum reusability
    • Maintaining clean architecture with growing features
  2. Browser Compatibility

    • Ensuring consistent behavior across different browsers
    • Handling different viewport sizes and resolutions

πŸš€ Future Aspects

Planned Features

  1. Enhanced Analytics

    • Real-time data visualization
    • Custom chart builder
    • Advanced filtering and sorting capabilities
  2. User Experience

    • Improved accessibility features
    • More customization options
  3. Authentication & Authorization

    • Multi-factor authentication
    • Role-based access control

Technical Improvements

  1. Performance

    • Progressive Web App (PWA) features
  2. Developer Experience

    • Improved documentation
    • Component storybook

πŸ”§ Configuration

Next.js Config

// next.config.ts
const nextConfig: NextConfig = {
  images: {
    remotePatterns: [
      {
        protocol: 'https',
        hostname: 'images.pexels.com',
      },
    ],
  },
};

PostCSS Config

// postcss.config.mjs
const config = {
  plugins: ['@tailwindcss/postcss'],
};

export default config;

πŸ“‹ Requirements

  • Node.js
  • React
  • npm
  • Modern web browser

πŸ‘€ Author

Monayem Hossain Limon


Last updated: May 12, 2025

About

A modern, responsive dashboard application built with Next.js and ShadCN UI components, featuring data visualizations, user management, and a sleek design system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors