Tech Stack
Quality Hub GINEZ is built with modern, production-ready technologies focused on developer experience, performance, and maintainability.Frontend Stack
Framework & UI Library
Next.js 14 - React Framework- App Router for file-based routing
- Server and Client Components
- Built-in optimization (images, fonts, scripts)
- Version:
^14.2.35
- Concurrent rendering
- Automatic batching
- Suspense support
- Version:
^18
Styling & Components
Tailwind CSS 3 - Utility-first CSS framework- JIT (Just-In-Time) compilation
- Custom design system
- Dark mode support
- Version:
^3.3.0
- Built on Radix UI primitives
- Fully customizable components
- Accessible by default
- Components:
@radix-ui/react-dialog- Modal dialogs@radix-ui/react-dropdown-menu- Dropdown menus@radix-ui/react-select- Select inputs@radix-ui/react-tabs- Tab navigation@radix-ui/react-switch- Toggle switches@radix-ui/react-checkbox- Checkboxes@radix-ui/react-popover- Popovers@radix-ui/react-scroll-area- Scroll containers@radix-ui/react-separator- Dividers@radix-ui/react-label- Form labels@radix-ui/react-avatar- User avatars
Icons & Graphics
Lucide React - Icon library- Modern, consistent icon set
- Tree-shakeable
- Version:
^0.316.0
Data Visualization
Recharts - Chart library- Declarative chart components
- Responsive and customizable
- Support for:
- Bar charts
- Line charts
- Donut/Pie charts
- Area charts
- Composed charts
- Version:
^3.7.0
State Management & Data Fetching
React Context + Hooks - Built-in state managementAuthProviderfor authentication state- Custom hooks for data fetching
- Local component state with
useState - Memoization with
useMemoanduseCallback
- Headless table library
- Sorting, filtering, pagination
- Version:
^8.11.8
Animations
Framer Motion - Animation library- Declarative animations
- Gesture support
- Version:
^12.29.2
- Lightweight and performant
- Autoplay support
- Version:
^8.6.0
Theming
next-themes - Theme management- Dark/light mode toggle
- System preference detection
- Version:
^0.4.6
Notifications
Sonner - Toast notifications- Beautiful, accessible toasts
- Promise-based API
- Version:
^2.0.7
Backend Stack
Backend as a Service (BaaS)
Supabase - Complete backend platform- PostgreSQL 15: Production-grade database
- Supabase Auth: JWT-based authentication
- Row Level Security: Database-level access control
- Realtime: WebSocket subscriptions
- Storage: File uploads (future)
- Version:
^2.93.3(JS client) - SSR Support:
@supabase/ssr^0.8.0
External Data Sources
Google Sheets - Static data catalog- CSV export for product catalog
- Real-time synchronization
- Environment variables:
SHEET_MP_CSV_URL- Raw materialsSHEET_PT_CSV_URL- Finished products
- Technical datasheets (PDF)
- Safety data sheets (PDF)
- Download tracking for audit
Development Tools
Language & Type Safety
TypeScript 5 - Typed JavaScript- Strict type checking
- Better IDE support
- Refactoring safety
- Version:
^5
Validation
Zod - Schema validation- Runtime type checking
- Form validation
- API request/response validation
- Version:
^3.22.4(dev dependency)
Utilities
clsx - Conditional class names- Version:
^2.1.1
- Resolve class conflicts
- Version:
^2.6.1
- Type-safe variant props
- Version:
^0.7.1
- Lightweight date utility
- Version:
^4.1.0
- Client-side search
- Version:
^7.0.0
Linting & Formatting
ESLint - JavaScript/TypeScript linter- Next.js config
- Version:
^8 - Config:
eslint-config-next^16.1.6
- Code formatting
- Integrated with ESLint
Build Tools
PostCSS - CSS processing- Version:
^8
- Version:
^10.0.1
- Pre-built animation classes
- Version:
^1.0.7
Package Manager
npm - Node package manager- Lock file for reproducible builds
- Scripts:
npm run dev- Development servernpm run build- Production buildnpm start- Start production servernpm run lint- Run ESLint
Environment Configuration
Required Environment Variables
Complete Dependency List
Production Dependencies
Development Dependencies
Browser Support
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
Node.js Requirements
- Node.js 18+ required
- npm 8+ recommended
