/Customer-Relationship-Manager

CRM Built with Django and Postgresql

Primary LanguagePython

CRM Application

The CRM Application is a comprehensive backend customer relationship management solution built using Django. It allows users to manage customer records, including viewing, adding, updating, and deleting customer information. The application utilizes PostgreSQL to store customer data and integrates with Railway Apps for efficient database management and querying.

  • Client card view
clientView
  • Full records view for authenticated users: mainView

Features

  • View a list of customer records with their corresponding IDs.
  • Add new customer records with detailed information.
  • Update existing customer records to reflect the latest information.
  • Delete customer records that are no longer needed.

Technologies Used

  • Django
  • PostgreSQL
  • Railway Apps

Installation

  1. Clone the repository:

    git clone https://github.com/AsmaaMHadir/Customer-Relationship-Manager.git
    cd crm-application
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install the project dependencies:

    pip install -r requirements.txt
  4. Set up the PostgreSQL database: Create a PostgreSQL database and update the database settings in settings.py.

  5. Run the migrations and create a superuser:

python manage.py migrate
python manage.py createsuperuser
  1. Run the development server:
python manage.py runserver

Usage

  • Access the application through the provided URL (e.g., http://localhost:8000).

  • Log in using the superuser account created during installation.

  • Navigate to the CRM dashboard to manage customer records.

Database Management with Railway Apps

Railway Apps is used to seamlessly manage the PostgreSQL database. You can view and query database tables easily through the Railway Apps interface.

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

Contact

For any inquiries, please reach out to me over asmaahadir11@gmail.com