- .NET 8.0 SDK installed
- One of: SQL Server LocalDB, SQL Server, or Docker SQL Server
-
Run the setup script:
cd c:\Users\SivaSekharNalluri\Desktop\DirxNewSite .\setup.ps1
-
Follow the wizard to choose your database option
-
Run the application:
cd LeadManagementPortal dotnet run
-
Open browser and navigate to:
-
Login with default credentials:
- Email:
[email protected] - Password:
Admin@123
- Email:
-
Navigate to project:
cd c:\Users\SivaSekharNalluri\Desktop\DirxNewSite\LeadManagementPortal
-
Restore packages:
dotnet restore
-
Update connection string in
appsettings.json(if needed) -
Create database:
dotnet dotnet-ef migrations add InitialCreate dotnet dotnet-ef database update
-
Run application:
dotnet run
-
Access at: https://localhost:5001
-
Create a Sales Group
- Navigate to "Sales Groups"
- Click "New Sales Group"
- Enter group details
-
Add Users
- Navigate to "Users"
- Click "New User"
- Assign roles:
- OrganizationAdmin: Full access
- GroupAdmin: Manage group leads
- SalesRep: Own leads only
-
Register Your First Lead
- Navigate to "Leads"
- Click "New Lead"
- Fill in lead information
- Lead automatically gets 90-day expiry
-
View Dashboard
- See overview of all leads
- Check critical/high priority leads
- Monitor conversion rates
- Create leads with full contact info
- System prevents duplicates (same phone/email)
- Track lead status (New → Contacted → Qualified → Proposal → Negotiation → Converted)
- See days remaining before expiry
- Convert lead to customer from lead details page
- Customer record created automatically
- Original lead marked as converted
- Grant one-time 90-day extension to leads
- Track extension history
- Total leads count
- Pending vs converted metrics
- Critical and high-priority alerts
- Conversion rate tracking
- Average days to convert
Organization Admin Can:
- View all leads and customers
- Create sales groups
- Add/manage users
- Grant lead extensions
- Change lead status
- Access all features
Group Admin Can:
- View leads in their group
- Manage group members
- Convert leads to customers
- Cannot modify restricted fields
Sales Rep Can:
- View only assigned leads
- Register new leads
- Update lead information
- Convert leads to customers
- Cannot change lead status
New Lead (Day 0)
↓
Register → System assigns 90-day expiry
↓
Work on Lead (Days 1-90)
↓ (Option 1)
Convert → Becomes Customer ✓
↓ (Option 2)
Expire (Day 90+) → Available for re-registration
↓ (Option 3)
Extension (Admin only) → Additional 90 days (one-time)
- 🔴 Critical (Red): 7 days or less remaining
- 🟡 High (Amber): 8-30 days remaining
- 🔵 Medium (Blue): 31-60 days remaining
- ⚪ Low (Gray): 61+ days remaining
- Click "New Lead" button
- Fill required fields (marked with *)
- System validates for duplicates
- Lead automatically assigned to you
- 90-day countdown starts
- Open lead details
- Click "Convert to Customer"
- Confirm conversion
- View customer in Customers section
- Use search box in Leads page
- Filter by status
- Results update automatically
- Open lead details
- Click "Grant Extension" (if available)
- Confirm action
- Lead gets additional 90 days
Can't login?
- Use: [email protected] / Admin@123
- Check caps lock
Database error?
- Ensure SQL Server is running
- Check connection string
- See DATABASE_SETUP.md
Can't create lead?
- Phone/email may already exist
- Check for active leads with same contact
Don't see all leads?
- Check your role permissions
- SalesRep sees only assigned leads
- GroupAdmin sees only group leads
-
Customize Settings
- Update password policy in Program.cs
- Modify lead expiry duration (default: 90 days)
- Customize email templates (future feature)
-
Add More Users
- Create sales teams
- Assign group admins
- Add sales reps
-
Start Managing Leads
- Import existing leads (create manually for now)
- Track conversions
- Monitor performance
- Full Documentation: See README.md
- Database Setup: See DATABASE_SETUP.md
- Code Structure: See project folders
After first run, you'll have:
- 1 Organization Admin user
- 3 predefined roles
- Empty sales groups (create your own)
- No leads (start registering)
Ready to manage leads efficiently! 🚀
For detailed feature explanations, see the main README.md file.