This project is a web API for an e-commerce application built using the Net7 Onion Architecture. It is designed to work as the backend for an Angular client application.
The Net7 Onion Architecture is a layered architecture that promotes separation of concerns and modularity. It consists of four layers:
-
Presentation Layer: This layer contains the user interface components of the application. In this project, the Angular client application serves as the presentation layer.
-
Application Layer: This layer contains the application's business logic.
-
Domain Layer: This layer contains the application's domain entities and business rules.
-
Infrastructure Layer: This layer contains the implementation details of the application, such as data access, external services, and other infrastructure components.
This project is built using the following technologies:
-
.NET Core: A cross-platform, open-source framework for building modern applications.
-
Entity Framework Core: A lightweight and extensible ORM framework for .NET Core.
-
Swagger UI: A tool for documenting and testing APIs.
-
Serilog: A logging framework for .NET Core.
To get started with this project, follow these steps:
-
Clone the repository.
-
Navigate to the root directory of the project.
-
Run the following command to build the project:
-
Run the following command to run the project:
-
Open a web browser and navigate to
https://localhost:5001/swagger
to access the Swagger UI. -
Use the Swagger UI to test the API endpoints.
If you would like to contribute to this project, please follow these steps:
-
Fork the repository.
-
Create a new branch for your changes.
-
Make your changes and commit them.
-
Push your changes to your fork.
-
Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.