A sophisticated Customer Relationship Management system built with Django, featuring advanced analytics, interactive visualizations, and a modern user interface.
- Record Growth Forecast: Time-series analysis with 7-day moving average predictions
- Anomaly Detection: Statistical analysis to identify unusual record patterns
- State-based Analytics: Geographic distribution of records with clustering
- Interactive Visualizations: Powered by ApexCharts.js for dynamic data representation
- Create, read, update, and delete customer records
- Comprehensive customer information tracking
- Advanced search and filtering capabilities
- Bulk record operations
- Data validation and error handling
- Secure user authentication system
- Role-based access control
- Password encryption
- Session management
- Protected API endpoints
- Responsive design for all devices
- Dark mode support
- Interactive data visualizations
- Intuitive navigation
- Tailwind CSS styling
- Framework: Django 5.1.3
- Database: SQLite
- Python Version: 3.13.0
- CSS Framework: Tailwind CSS
- Charts: ApexCharts.js
- Icons: Font Awesome
- Animations: AOS (Animate On Scroll)
- pandas: Data manipulation and analysis
- numpy: Numerical computations
- scipy: Scientific computing
- scikit-learn: Machine learning operations
- faker: Test data generation
- Clone the repository:
git clone [repository-url]
cd dcrm
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Create a superuser:
python manage.py createsuperuser
- Generate sample data (optional):
python manage.py generate_records 1000
- Run the development server:
python manage.py runserver
- Access the dashboard at
/dashboard/
- View record growth trends and forecasts
- Monitor anomaly detection results
- Analyze state-based record distribution
- Add new records at
/add_record/
- View and edit records at
/record/<id>/
- Delete records at
/delete_record/<id>/
- Search records using the search bar
- Register new users at
/register/
- Login at
/#/
- Logout at
/logout/
- View features at
/features/
dcrm/
├── dcrm/ # Project settings
├── website/ # Main application
│ ├── management/ # Custom management commands
│ ├── migrations/ # Database migrations
│ ├── static/ # Static files (CSS, JS)
│ ├── templates/ # HTML templates
│ ├── models.py # Database models
│ ├── views.py # View logic
│ └── urls.py # URL routing
└── requirements.txt # Project dependencies
Record
: Customer information storage- Custom user model with enhanced capabilities
- Class-based views for CRUD operations
- API endpoints for analytics data
- Authentication views
- Dashboard views with analytics
- Base template with common layout
- Dashboard template with charts
- Record management forms
- Authentication templates
- Time series analysis of record creation
- 7-day moving average calculation
- Future growth predictions
- Confidence intervals
- Statistical analysis of record patterns
- Dynamic threshold calculation
- Automatic anomaly flagging
- Visual representation of anomalies
- Geographic distribution analysis
- State-based record density
- Cluster visualization
- Regional trends
- CSRF protection
- Password hashing
- Session security
- Form validation
- XSS prevention
- SQL injection protection
-
Advanced Reporting
- Custom report generation
- Export capabilities
- Scheduled reports
-
Enhanced Analytics
- Predictive customer behavior
- Advanced segmentation
- Custom metrics
-
Integration Features
- Email integration
- Calendar sync
- Document management
-
Performance Optimization
- Caching implementation
- Query optimization
- Bulk operations
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Django Framework
- Tailwind CSS
- ApexCharts.js
- Open source community