Lead management system frontend built with Next.js, TypeScript, and Tailwind CSS.
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Custom components with Radix UI primitives
- State Management: Zustand
- HTTP Client: Custom API utility
- Node.js 18+
- npm or pnpm
npm install
# or
pnpm installRun the development server:
npm run devOpen http://localhost:3000 in your browser.
app/ # Next.js App Router pages
(auth)/ # Authentication routes
(dashboard)/ # Protected dashboard routes
components/ # React components
auth/ # Authentication components
layout/ # Layout components (Header, Sidebar)
leads/ # Lead management components
ui/ # Reusable UI components
users/ # User management components
hooks/ # Custom React hooks
lib/ # Utility functions
stores/ # Zustand stores
types/ # TypeScript type definitions
- User authentication (login/logout)
- Lead management (CRUD operations)
- Activity tracking
- User management
- Pipeline visualization
- Analytics dashboard
Create a .env.local file:
NEXT_PUBLIC_API_URL=http://localhost:8000/api/v1npm run build
npm start