Skip to content

PouyanCodes/MaWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaWeb

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.

🎯 Project Purpose

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.

🏗️ Architecture Overview

The project follows Clean Architecture principles and is organized into multiple logical layers, each responsible for a specific part of the system.

📁 Domain

Contains the core entities of the system and defines their relationships. This layer represents the central business models and is independent of external frameworks.

📁 Application

This layer contains the main application logic and contracts including:

  • Interfaces
  • CQRS pattern implementation
  • Data Transfer Objects (DTOs)
  • Custom exceptions
  • Utility and helper components

📁 Persistence

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

📁 API

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.

📁 Unit Tests

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.

🛠️ Technologies Used

  • ASP.NET Core
  • Entity Framework Core (Code First)
  • MediatR (CQRS)
  • AutoMapper
  • JWT Authentication
  • Clean Architecture
  • Unit Testing (TDD)

✅ Key Benefits

  • Reduces repetitive backend setup
  • Encourages clean and maintainable architecture
  • Built-in secure authentication
  • Robust testing strategy (TDD)
  • Faster development of content-based platforms

About

MaWeb is a scalable .NET Core REST API built with Clean Architecture that provides a ready backend foundation for content‑driven platforms like blogs and e‑commerce systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages