Smart Lead Intelligence Dashboard — a full-stack mini CRM for sales teams to track leads from Website, Instagram, and Referrals.
Demo Video • Screenshots • Quick Start • Full Docs • Record Demo
Record your walkthrough using docs/DEMO_SCRIPT.md, then add it below.
- Upload your demo to YouTube
- Replace
YOUR_VIDEO_IDwith the ID fromyoutube.com/watch?v=YOUR_VIDEO_ID
Placeholder — add your link here:
https://www.youtube.com/watch?v=YOUR_VIDEO_ID
- Record and save as
assets/demo.mp4 - Uncomment this block in README:
Or embed in browser:
<video src="assets/demo.mp4" controls width="100%"></video>Paste your share link: _Add Loom or Google Drive link here_
| Dashboard & Leads | Login | Analytics |
Tip: Replace mockups with real screenshots from your running app — see assets/README.md.
# 1. Install
cd backend && npm install && cp .env.example .env
cd ../frontend && npm install && cp .env.example .env
# 2. Run API (terminal 1)
cd backend && npm run dev
# 3. Run UI (terminal 2)
cd frontend && npm run devOpen http://localhost:5173 → Sign up → start managing leads.
| Service | URL |
|---|---|
| Frontend | http://localhost:5173 |
| API | http://localhost:5000/api |
| Health | http://localhost:5000/health |
| Feature | Details |
|---|---|
| Auth | Register, login, JWT, bcrypt |
| RBAC | Admin (full access) vs Sales (no delete) |
| Leads | CRUD, status badges, sources |
| Search | Debounced (300ms) name + email |
| Filters | Status + source + sort combined |
| Pagination | Server-side, 10 per page |
| Analytics | Live stats & charts |
| Export | CSV with active filters |
| UI | Dark mode, responsive, 5 pages |
React 19 · TypeScript · Vite · Tailwind · Express · Mongoose · MongoDB · Axios · JWT
gigflow/
├── assets/ # Screenshots + demo.mp4 (you add video)
├── docs/
│ ├── GUIDE.md # Full API, schema, troubleshooting
│ └── DEMO_SCRIPT.md
├── backend/ # Express API
└── frontend/ # React app
backend/.env
PORT=5000
MONGODB_URI=mongodb://127.0.0.1:27017/smart-leads
JWT_SECRET=change_me
JWT_EXPIRES_IN=7dfrontend/.env
VITE_API_URL=http://localhost:5000/api| Method | Endpoint | Auth |
|---|---|---|
| POST | /api/auth/register |
— |
| POST | /api/auth/login |
— |
| GET | /api/leads |
JWT |
| POST | /api/leads |
JWT |
| PUT | /api/leads/:id |
JWT |
| DELETE | /api/leads/:id |
Admin |
| GET | /api/leads/export/csv |
JWT |
Full reference → docs/GUIDE.md
| Problem | Fix |
|---|---|
| Port 5000 in use | taskkill /PID <id> /F |
| MongoDB SRV error on Windows | Use standard URI, not mongodb+srv |
@ in Atlas password |
Encode as %40 |
Details → docs/GUIDE.md#troubleshooting
| Doc | Description |
|---|---|
| docs/GUIDE.md | Complete technical documentation |
| docs/DEMO_SCRIPT.md | 90-second demo video script |
| assets/README.md | Screenshots & video file guide |
Educational / portfolio use.
SalesFlow CRM — Smart Lead Intelligence System
# GigFlow