/marketify-mini-ecommerce

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.

Primary LanguageC#MIT LicenseMIT

Net7 Onion Architecture Web API for E-commerce Application

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.

Architecture Overview

The Net7 Onion Architecture is a layered architecture that promotes separation of concerns and modularity. It consists of four layers:

  1. Presentation Layer: This layer contains the user interface components of the application. In this project, the Angular client application serves as the presentation layer.

  2. Application Layer: This layer contains the application's business logic.

  3. Domain Layer: This layer contains the application's domain entities and business rules.

  4. Infrastructure Layer: This layer contains the implementation details of the application, such as data access, external services, and other infrastructure components.

Technologies Used

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.

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository.

  2. Navigate to the root directory of the project.

  3. Run the following command to build the project:

  4. Run the following command to run the project:

  5. Open a web browser and navigate to https://localhost:5001/swagger to access the Swagger UI.

  6. Use the Swagger UI to test the API endpoints.

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your changes.

  3. Make your changes and commit them.

  4. Push your changes to your fork.

  5. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.