Skip to content

About

RoCa - ASP.NET Core API built with Clean Architecture Extend Api Mastra

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

RoCa

RoCa is an ASP.NET Core Web API project built using Clean Architecture principles, designed for scalability, maintainability, and long-term evolution.
The architecture enforces a clear separation of concerns and supports modern deployment workflows using Docker.


Architecture Overview

RoCa follows Clean Architecture, ensuring that business rules remain independent from frameworks, databases, and external services.

Layer Responsibilities

Domain

  • Core business entities and rules
  • No dependency on any other layer

Application

  • Use cases, DTOs, validators, and interfaces
  • Depends only on the Domain layer

Infrastructure

  • Database access, external services, and implementations
  • Depends on the Application layer

API

  • ASP.NET Core Web API entry point
  • Handles HTTP requests, authentication, and middleware

Project Structure

ROCA
├─ src
│  ├─ Api             # API layer (Controllers, Middleware, Program.cs)
│  ├─ Application     # Application logic (Use cases, DTOs, Validators)
│  ├─ Domain          # Core domain entities and business rules
│  └─ Infrastructure  # Database, external services, implementations
├─ .editorconfig
├─ .gitignore
├─ Dockerfile
├─ LICENSE
├─ RoCa.sln
└─ README.md

About

RoCa - ASP.NET Core API built with Clean Architecture Extend Api Mastra

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages