Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

ConsoleCRM

A web-based Customer Relationship Management (CRM) and Enterprise Resource Planning (ERP) system designed specifically for console repair shops to streamline customer management, ticket pipelines, dynamic invoicing, and inventory operations. Built with ASP.NET Core and Entity Framework Core.

Features

  • Create, edit, and manage customer profiles with contact information
  • Track customers devices with detailed ticket system
  • Generate, create, and manage invoices with payment tracking
  • Maintain inventory of items
  • Manage services, service rates and service-related transactions
  • Configurable shop-level settings and preferences
  • Secure login with cookie-based authentication

Project Structure

ConsoleCRM/
├── Models/               # Data models (Customer, Ticket, Invoice, ...)
├── Pages/                # Razor Pages (UI layer)
│   ├── admin/            # Admin settings
│   ├── Authentication/   # Log in/out pages
│   ├── customers/        # Customer management pages
│   ├── inventory/        # Inventory management pages
│   ├── invoices/         # Invoice management pages
│   ├── Shared/           # SVGs/validation JS'es
│   ├── tickets/          # Repair ticket pages
│   └── tracking/         # Repair ticket tracking page for customers
├── Data/                 # Database context and initializer
├── Migrations/           # Entity Framework migrations
├── wwwroot/              # Static files (Images, Foınts, JS, CSS, Uploads)
├── Program.cs            # Application startup configuration
└── appsettings.json      # Configuration file

Models

  • Customer: Stores customer information (name, surname, phone number)
  • Ticket: Repair tickets linked to customers
  • TicketPhoto: Photo attachments for tickets
  • Invoice: Invoice records with associated items
  • InvoiceItem: Line items within invoices
  • Device: Devices tracked per customer
  • ServiceRate: Service pricing information
  • User: User accounts for CRM system
  • Platform: Console platform configuration data
  • Inventory: Inventory management
  • ShopSetting: Shop-wide configuration settings

Prerequisites

  • .NET 8 SDK
  • Microsoft.EntityFrameworkCore
  • Npgsql.EntityFrameworkCore.PostgreSQL
  • Visual Studio Code or Visual Studio 2022

Getting Started

1. Clone the Repository

git clone https://github.com/rreha/consolecrm
cd consolecrm

2. Configure Database Connection

Export your PostgreSQL connection string with credentials:

export ConnectionStrings__DefaultConnection="Host=YOUR_IP_HERE;Database=ConsoleCRM;Username=YOUR_USERNAME_HERE;Password=YOUR_PASSWORD_HERE"

3. Restore Dependencies

cd ConsoleCRM
dotnet restore

4. Apply Database Migrations

dotnet ef database update

5. Run the Application

dotnet run

Usage & Screenshots

Authentication

Login page

  • Navigate to /login to access the login page

Dashboard page
Dashboard page

Support Tickets

Tickets page

  • Open new support requests with photo attachments
  • View ticket status and details
  • Use ticket photo functionality for visual documentation
  • Mark tickets as resolved

Invoicing

Invoice page

  • Generate invoices for customers
  • Break down invoice totals by service/product
  • Monitor invoice payment status
  • Access comprehensive invoice information

Customer Management

Customers page

  • Chart.js integration for visual data representation
  • Add new customers with name, surname, and phone number
  • Update existing customer information
  • See all support tickets for a customer

Tracking Page

Tracking page
Tracking page

  • A dedicated page allowing clients to securely check the real-time repair status and progress of their devices

Admin Settings

Admin page
Admin page
Admin page
Admin page

  • Configure shop-wide settings and preferences
  • International phone number masking with libphonenumber-js

Technologies and Libraries Used

About

A web-based CRM and ERP system designed specifically for console repair shops to streamline customer management, ticket pipelines, dynamic invoicing, and inventory operations.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages