TaushifReza / E-Commerce-FoodApp-Microservice

This repository contains a E-commerce application built using a microservices architecture with .NET 8.
MIT License
1 stars 0 forks source link
asp-net-core-mvc asp-net-core-web-api azure-service-bus microservice ocelot ocelot-api-gateway ocelot-gateway sql-server stripe-payments

This repository contains a comprehensive e-commerce application built using a microservices architecture with .NET 8. The project is the result of a detailed microservices demonstrating best practices in building scalable and maintainable distributed systems.

Project Overview

image

This e-commerce application consists of multiple microservices that work together to provide a complete online food shopping experience. The microservices include:

Technologies Used

Prerequisites

To run this project, you'll need:

Getting Started

  1. Clone the repository:
  2. Open the solution file in Visual Studio.
  3. Set up your SQL Server connection strings in the appsettings.json file of each microservice.
  4. Set up your Azure Service Bus connection string in the relevant microservices.
  5. Run the database migrations for each microservice that uses a database:
  6. Set multiple startup projects in Visual Studio to run all microservices simultaneously.
  7. Run the application.

Project Structure

The solution is structured with a clean approach:

Running the Application

  1. Ensure all microservices are set to start.
  2. Run the application from Visual Studio.
  3. The Ocelot API Gateway will route requests to the appropriate microservices.
  4. Access the MVC Web Application to interact with the e-commerce platform.

Contributing:

Contributions are welcome! Please fork the repository and submit pull requests for any enhancements or bug fixes.

License:

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