Welcome

Welcome to the comprehensive technical documentation for the Shirinzad E-Commerce Platform - a production-ready, enterprise-grade e-commerce backend built with .NET 9.0 and ABP.io Framework 9.3.5.

Production Ready: This platform features 23 complete modules, 110+ API endpoints, and is fully deployed and operational.

Platform Statistics

23
Complete Modules
110+
API Endpoints
55+
Domain Entities
46+
Database Indexes

Key Features

Core E-Commerce

  • Product Management with Variants & Specifications
  • Shopping Cart & Checkout Flow
  • Order Management Lifecycle
  • Payment Processing (Multiple Methods)
  • Shipping & Delivery Tracking
  • Discount & Promotions Engine

Advanced Features

  • Product Reviews & Ratings System
  • Wishlist with Multiple Lists
  • Product Comparison Tool
  • Multi-Channel Notifications
  • Advanced Search & Filtering
  • Analytics & Reporting Dashboard

Performance & Scalability

  • Redis Distributed Caching
  • 46+ Strategic Database Indexes
  • Response Compression (Brotli/Gzip)
  • Query Optimization & Projections
  • Horizontal Scaling Ready
  • CDN Integration Support

Security & Monitoring

  • JWT Authentication & Authorization
  • Rate Limiting Protection
  • Comprehensive Audit Logging
  • Health Monitoring & Checks
  • Input Validation & Sanitization
  • XSS & SQL Injection Protection

Architecture Overview

graph TB subgraph Presentation[Presentation Layer] API[HTTP API Controllers] Web[Web UI - Razor Pages] end subgraph Application[Application Layer] Services[Application Services] DTOs[DTOs & Mapping] end subgraph Domain[Domain Layer] Entities[Domain Entities] DomainServices[Domain Services] Repos[Repository Interfaces] end subgraph Infrastructure[Infrastructure Layer] EFCore[EF Core - Data Access] Redis[Redis Caching] External[External Services] end subgraph Database[Data Storage] SQL[(SQL Server)] Cache[(Redis Cache)] end API --> Services Web --> Services Services --> DTOs Services --> DomainServices DomainServices --> Entities Services --> Repos Repos --> EFCore EFCore --> SQL Services --> Redis Redis --> Cache External --> SQL

Clean Architecture with DDD Principles

Technology Stack

Category Technology Version Purpose
Framework .NET 9.0 Core runtime and libraries
Framework ABP.io 9.3.5 Application framework with DDD
ORM Entity Framework Core 9.0 Database access and migrations
Database SQL Server 2019+ Primary data storage
Cache Redis Latest Distributed caching
Authentication JWT Bearer - API authentication
Logging Serilog - Structured logging

Documentation Index

Architecture

System architecture, DDD layers, project structure, and design patterns used throughout the platform.

Core

Database Models

All 58 tables, relationships, ER diagrams, and 46+ database indexes for optimal performance.

Data

Application Services

All 32+ application services with methods, parameters, and usage examples.

Development

Business Logic

Domain entities business rules, workflows, validation logic, and domain events.

Core

API Reference

Complete API documentation with 110+ endpoints, request/response examples, and authentication.

Development

Security

Authentication, authorization, rate limiting, audit logging, and security best practices.

Critical

Deployment

Windows/Linux/Docker deployment guides, configurations, and production checklists.

DevOps

Performance

Caching strategies, indexes, query optimization techniques, and benchmarks.

Optimization

Redis Caching

Redis implementation, 30+ cache keys, TTL strategy, and invalidation patterns.

Optimization

Modules

All 23 modules detailed with entities, features, API endpoints, and use cases.

Core

Testing

Testing strategy, 47 existing tests, coverage analysis, and testing frameworks.

Quality

Localization

Persian/Farsi support, RTL layout, translation strategy, and multi-language setup.

i18n

Quick Links

Version Information

Platform Version 2.0.0
Documentation Updated 2025-01-04
Status Production Ready
Support [email protected]