https://github.com/anas436/customer-communication-django
Django web application for managing customer information and interactions. It allows users to create new customers, record interactions, and view summaries of recent interactions.
https://github.com/anas436/customer-communication-django
css3 django-application full-stack-development html5 python3
Last synced: about 2 months ago
JSON representation
Django web application for managing customer information and interactions. It allows users to create new customers, record interactions, and view summaries of recent interactions.
- Host: GitHub
- URL: https://github.com/anas436/customer-communication-django
- Owner: Anas436
- Created: 2024-05-06T16:46:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T17:24:14.000Z (about 2 years ago)
- Last Synced: 2025-02-01T15:30:07.601Z (over 1 year ago)
- Topics: css3, django-application, full-stack-development, html5, python3
- Language: Python
- Homepage:
- Size: 189 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Customer-Communication-Django
Customer360 is a Django web application for managing customer information and interactions. It allows users to create new customers, record interactions, and view summaries of recent interactions.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/customer360.git
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Apply migrations to set up the database:
```bash
python manage.py migrate
```
4. Create a superuser to access the admin panel:
```bash
python manage.py createsuperuser
```
5. Run the development server:
```bash
python manage.py runserver
```
6. Access the application at http://localhost:8000/ and the admin panel at http://localhost:8000/admin/.
## Demo





## Usage
### Admin Panel
- Use the Django admin panel to manage customers and interactions.
- Create new customers, record interactions, and view summary reports.
### URLs
- Home: `/ `- Displays a list of customers with the option to interact with them.
- New Customer: `/create/` - Form to add a new customer.
- Interact: `/interact//` - Form to interact with a specific customer.
- Summary: `/summary/` - View recent interaction summaries.
### Project Structure
- `customer360/`: Django project directory.
- `settings.py`: Django settings for the project.
- `urls.py`: URL configurations for routing.
- `customers/`: Django app for customer management.
- `models.py`: Defines Customer and Interaction models.
- `views.py`: Contains view functions for handling requests.
- `templates/`: HTML templates for rendering pages.
- `static/`: Static files (CSS, JS, etc.).
- `manage.py`: Django's command-line utility for administrative tasks.
## Models
### Customer
- Represents a customer with basic information.
- Fields:
- `id`: Auto-generated primary key.
- `name`: Name of the customer.
- `email`: Email address of the customer.
- `phone`: Phone number of the customer.
- `address`: Address of the customer.
- `social_media`: (Added in migration) Social media handle of the customer.
### Interaction
- Represents an interaction with a customer.
- Fields:
- `id`: Auto-generated primary key.
- `customer`: ForeignKey to Customer model.
- `channel`: Communication channel (phone, sms, email, letter, social media).
- `direction`: Direction of interaction (inbound, outbound).
- `interaction_date`: Date of the interaction.
- `summary`: Summary of the interaction.