Giter Site home page Giter Site logo

taushifreza / e-commerce-foodapp-microservice Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 975 KB

This repository contains a E-commerce application built using a microservices architecture with .NET 8.

License: MIT License

C# 77.35% HTML 21.52% CSS 0.95% JavaScript 0.18%
asp-net-core-mvc asp-net-core-web-api azure-service-bus microservice ocelot ocelot-api-gateway ocelot-gateway sql-server stripe-payments

e-commerce-foodapp-microservice's Introduction

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

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

  • Product Microservice
  • .NET Identity Microservice
  • Coupon Microservice
  • Shopping Cart Microservice
  • Order Microservice
  • Email Microservice
  • Payment Microservice
  • Ocelot API Gateway
  • MVC Web Application

Technologies Used

  • .NET 8
  • ASP.NET Core Web API
  • Entity Framework Core
  • SQL Server
  • Azure Service Bus
  • Ocelot API Gateway
  • .NET Identity for Authentication and Authorization

Prerequisites

To run this project, you'll need:

  • Visual Studio 2019 or later (2022 recommended for .NET 8)
  • SQL Server Management Studio
  • .NET 8 SDK
  • Azure Service Bus account (for message queue implementation)

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:

  • Each microservice has its own folder containing:
  • API project
  • The Ocelot API Gateway project is in its own folder
  • The MVC Web Application is in a separate folder

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.

e-commerce-foodapp-microservice's People

Contributors

taushifreza avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.