ECommerceApi is an e-commerce project developed using the Onion Architecture to ensure scalability, maintainability, and testability. The project incorporates modern technologies and follows industry-standard principles to deliver robust and efficient solutions.
- .NET 6/7: Used for developing the backend services.
- SignalR: Enables real-time web functionality, ensuring seamless communication between server and client.
- Hub Technologies: Implemented for message communication and asynchronous processes.
- SQL Server: Used as the primary database for data storage and management.
- Entity Framework Core: For object-relational mapping (ORM) and database operations.
- Onion Architecture: The project is structured to separate concerns and dependencies systematically:
- Core: Contains the domain entities and business logic.
- Infrastructure: Handles data access, external API calls, and third-party dependencies.
- Presentation: Includes API endpoints for client interaction.
- SignalR Layer: Manages real-time notifications and communication.
- SOLID Principles:
- Single Responsibility Principle
- Open-Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle
- Clean Code Practices: Ensures readable, maintainable, and extensible code.
- Modular and decoupled architecture.
- Real-time communication using SignalR.
- Scalable database design with SQL Server.
- Adherence to software design patterns.