Skip to content

PhamHao1412/clean-architecture-book-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clean-architechture-book-management

Overview

Welcome to MyProject Web API, a robust and scalable web application built using .NET Core and organized following Clean Architecture principles. This architecture ensures a clear separation of concerns, facilitating maintainability, testability, and scalability of the application.

Project Structure

The project is divided into several layers, each responsible for different aspects of the application:

  • Core Layer: Contains the core business logic and domain entities.
  • Application Layer: Contains the application-specific logic, including services and mappers.
  • Infrastructure Layer: Handles data access, repositories, and configuration settings.
  • Presentation Layer: Manages the web API controllers, middleware, and routing logic.

File Structure

## Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://gitlab.kyanon.digital/Training-Intern-2024/haopham.git
    cd yourproject
  2. Update the connection string in appsettings.json:

    {
      "ConnectionStrings": {
        "DefaultConnection": "YourConnectionStringHere"
      }
    }
  3. Apply database migrations:

    "update-database".
  4. Run the application:

    "dotnet run"
  5. Basic Auth information are in appsettings.Development.json.

Usage

After starting the application, you can access the API endpoints via: https://localhost:7220/api/yourendpoints

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -am 'Add your feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Create a new Pull Request

Acknowledgements

  • Clean Architecture by Milan Jovanović
  • .NET Core Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published