Files
CRM_ENVR/SETUP.md
T
2026-06-17 13:51:22 +02:00

57 lines
956 B
Markdown

# CRM Frontend - Quick Start
## Prerequisites
- Node.js >= 18.17 (recommended: 20.9+ or 22.x)
- npm 9+
## Install & Run
```bash
cd frontend
# Install dependencies
npm install
# Start dev server
npm run dev
```
The app runs at **http://localhost:3000**
## Pages
| Route | Description |
|-------|-------------|
| `/login` | Login page |
| `/` | Dashboard |
| `/leads` | Lead management table |
| `/leads/:id` | Lead detail view |
| `/users` | User management |
| `/settings` | Settings (Company, Theme, Notifications) |
## Tech Stack
- Next.js 15 + React 18
- TypeScript + Tailwind CSS v4
- shadcn/ui components (Radix primitives)
- TanStack Table v8
- Recharts
- Framer Motion
- Lucide Icons
## If Node.js is < 20.9
The eslint-config-next package requires Node.js >= 20.9. If your Node.js is older:
```bash
npm install --legacy-peer-deps
```
Or upgrade Node.js via [nvm](https://github.com/nvm-sh/nvm):
```bash
nvm install 22
nvm use 22
```