How vanshita-vilas-parab/lead-management-crm works
Lead Management CRM lets users create and maintain sales leads, inspect them in a table, search by name/email/company, filter by pipeline status, and track status from New through Lost. The browser app in App coordinates listing and form state; form and table actions use the Axios client to reach Express CRUD routes, which operate on the Mongoose Lead model in MongoDB. The README documents single-lead retrieval and the status stages. Source excerpts establish the frontend calls and backend route/model wiring; no separate database connection beyond the server configuration is inferred.
Main entry points: App.jsx Workspace coordinator · leadApi.js Axios client · server.js Express server · LeadForm.jsx Lead editor
Components 10
Lead workspace
- Workspace coordinator
frontend/src/App.jsx - Navigation bar
frontend/src/components/Navbar.jsx - Lead editor
frontend/src/components/LeadForm.jsx - Lead table
frontend/src/components/LeadTable.jsx - Axios client
frontend/src/api/leadApi.js
Lead API
- Express server
backend/server.js - CRUD and filtering
backend/routes/leads.js
Lead persistence
- Lead schema
backend/models/Lead.js - MongoDB
Other components
- CRM user
Connections 11
- CRM user → Workspace coordinator: uses
README.md - Workspace coordinator → Navigation bar: renders
frontend/src/App.jsx - Workspace coordinator → Lead editor: renders
frontend/src/App.jsx - Workspace coordinator → Lead table: renders
frontend/src/App.jsx - Workspace coordinator → Axios client: fetches leads
frontend/src/App.jsx - Lead editor → Axios client: creates or updates
frontend/src/components/LeadForm.jsx - Lead table → Axios client: deletes leads
frontend/src/components/LeadTable.jsx - Axios client → Express server: HTTP requests
- Express server → CRUD and filtering: mounts routes
backend/server.js - CRUD and filtering → Lead schema: queries and mutates
backend/routes/leads.js - Express server → MongoDB: connects
backend/server.js