Skip to content

madhan175/GigFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SalesFlow CRM

Smart Lead Intelligence Dashboard — a full-stack mini CRM for sales teams to track leads from Website, Instagram, and Referrals.

React TypeScript Node.js MongoDB Tailwind CSS JWT License

Demo VideoScreenshotsQuick StartFull DocsRecord Demo


Demo Video

Record your walkthrough using docs/DEMO_SCRIPT.md, then add it below.

Option 1 — YouTube (best for GitHub README)

  1. Upload your demo to YouTube
  2. Replace YOUR_VIDEO_ID with the ID from youtube.com/watch?v=YOUR_VIDEO_ID

Placeholder — add your link here:

https://www.youtube.com/watch?v=YOUR_VIDEO_ID

Option 2 — Local MP4 (in repo)

  1. Record and save as assets/demo.mp4
  2. Uncomment this block in README:

Or embed in browser:

<video src="assets/demo.mp4" controls width="100%"></video>

Option 3 — Loom / Drive

Paste your share link: _Add Loom or Google Drive link here_


Screenshots

Dashboard & Leads Login Analytics

Tip: Replace mockups with real screenshots from your running app — see assets/README.md.


Quick Start

# 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 dev

Open http://localhost:5173 → Sign up → start managing leads.

Service URL
Frontend http://localhost:5173
API http://localhost:5000/api
Health http://localhost:5000/health

What It Does

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

Tech Stack

React 19 · TypeScript · Vite · Tailwind · Express · Mongoose · MongoDB · Axios · JWT


Project Layout

gigflow/
├── assets/          # Screenshots + demo.mp4 (you add video)
├── docs/
│   ├── GUIDE.md     # Full API, schema, troubleshooting
│   └── DEMO_SCRIPT.md
├── backend/         # Express API
└── frontend/        # React app

Environment

backend/.env

PORT=5000
MONGODB_URI=mongodb://127.0.0.1:27017/smart-leads
JWT_SECRET=change_me
JWT_EXPIRES_IN=7d

frontend/.env

VITE_API_URL=http://localhost:5000/api

API (summary)

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


Troubleshooting

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


Documentation

Doc Description
docs/GUIDE.md Complete technical documentation
docs/DEMO_SCRIPT.md 90-second demo video script
assets/README.md Screenshots & video file guide

License

Educational / portfolio use.


SalesFlow CRM — Smart Lead Intelligence System

# GigFlow

About

this is assignment is designed your full stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors