A foundational backend service for launching content-oriented websites such as blogs, e-commerce platforms, and similar applications.
The project is built using Clean Architecture principles with a modular and scalable design to simplify and accelerate backend development.
MaWeb aims to eliminate repetitive groundwork when starting new content-based web projects. Many systems such as blogs or online stores share common backend requirements including database structures, generic services, and repositories.
By providing these core components out of the box, MaWeb allows developers to focus on implementing custom features and business logic instead of rewriting the same infrastructure for every new project. This significantly improves development speed and maintainability.
The project follows Clean Architecture principles and is organized into multiple logical layers, each responsible for a specific part of the system.
Contains the core entities of the system and defines their relationships. This layer represents the central business models and is independent of external frameworks.
This layer contains the main application logic and contracts including:
- Interfaces
- CQRS pattern implementation
- Data Transfer Objects (DTOs)
- Custom exceptions
- Utility and helper components
Responsible for data access and database communication.
- Built using Entity Framework Core
- Uses the Code First approach
- Supports automatic SeedData for initializing the database with default data
Provides a RESTful API for client applications such as web frontends, mobile apps, or other services.
- JWT-based Authentication and Authorization: Implemented to secure endpoints.
- Acts as the entry point to the application's business logic.
The project includes a dedicated Unit Testing layer to ensure the reliability and correctness of the application logic.
- Tests are written following Test-Driven Development (TDD) principles.
- Helps maintain code quality and prevents regressions.
- Focuses primarily on the Application layer and business logic.
- ASP.NET Core
- Entity Framework Core (Code First)
- MediatR (CQRS)
- AutoMapper
- JWT Authentication
- Clean Architecture
- Unit Testing (TDD)
- Reduces repetitive backend setup
- Encourages clean and maintainable architecture
- Built-in secure authentication
- Robust testing strategy (TDD)
- Faster development of content-based platforms