Skip to content

shishir28/eDukaan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eDukaan

Introduction

This pet project was created to learn about eCommerce. However, it is still a work in progress and may require adjustments to function properly on MacOS. The issue will be resolved in upcoming updates.

The project was inspired from

The free HTML template is from

Architecture Overview

Architecture

Identity Service microservice which includes;

  • ASP.NET Core Web API application.
  • Provides Authentication using Identity Server4

Catalog microservice which includes;

  • ASP.NET Core Web API application

Basket microservice which includes;

  • ASP.NET Core Web API application

Discount microservice which includes;

  • ASP.NET Grpc Server application
  • ASP.NET Core Web API application

Microservices Communication

  • Sync inter-service gRPC Communication

Ordering Microservice

  • ASP.NET Core Web API application

User Microservice

  • ASP.NET Core Web API application

API Gateway

  • API Gateways Implement API Gateways with Ocelot
  • Aggregator ASP.NET Core Web API application

Tools

Docker Compose & all microservices on docker;

Housekeeping

  • Application data seed creates following two sample users (This should not go in PROD . Need to change in future):

  • Add Following entries in Fiddler (Again windows specific stuff. Need to be dropped in future)

    • localhost:8000 identity.api
    • localhost:8001 catalog.api
    • localhost:8002 basket.api
    • localhost:8003 discount.api
    • localhost:8004 discount.grpc
    • localhost:8005 order.api
    • localhost:8006 user.api
    • localhost:8010 ocelotapigw
    • localhost:8008 shopping.aggregator
    • localhost:8100 razor.ui

Running

  • As of now only running on Windows setup

  • Inside src folder run following command

    • docker-compose -f ./docker-compose.yml -f ./docker-compose.override.yml up --build
  • To check all your running images navigate to http://portainer/

  • On your local browser navigate to http://razor.ui/

Observability (Immediate Concerns)

  • Uniform Logging approach needs to be adopted
  • Needs to think about observability approach

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published