You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
selman koc 7bfed7a322
Merge pull request #275 from abpframework/EngincanV-patch-1
1 year ago
.github/workflows Update dotnet.yml 1 year ago
apps Upgrade to ABP version 9.0.0 1 year ago
aspire Upgrade to ABP version 9.0.0 1 year ago
build updated default image build scripts 2 years ago
docs Add solution of SSL Error 4 years ago
etc Merge branch 'main' into aspire 2 years ago
gateways Upgrade to ABP version 9.0.0 1 year ago
services Upgrade to ABP version 9.0.0 1 year ago
shared Upgrade to ABP version 9.0.0 1 year ago
.env.example added env example file 3 years ago
.gitattributes Create .gitattributes 5 years ago
.gitignore Update .gitignore 2 years ago
EShopOnAbp.sln Updated launch settings 2 years ago
LICENSE Initial commit 5 years ago
NuGet.Config Added nuget.config for reference 4 years ago
README.md Update README.md 1 year ago
common.props added docker support and SaasService 5 years ago
delete-temp-directories.bat Update delete-temp-directories.bat 2 years ago
global.json Upgrade to ABP version 9.0.0 1 year ago
package.json feat: downgrade project to abp v4.4 4 years ago
run-tye.ps1 added pgadmin and fixed tye script 4 years ago
start-containers.ps1 container starter script 2 years ago
stop-containers.ps1 added script for stopping containers 3 years ago
tye.yaml Routing and tye fix 2 years ago
yarn.lock feat: downgrade project to abp v4.4 4 years ago

README.md

eShopOnAbp

This is a reference project for those who want to build microservice solutions with the ABP Framework.

⚠️ Important Notice
This project, "eshoponabp," is outdated. It served as a reference project for microservice architecture using the ABP Framework, but we now recommend using the ABP Microservice Solution Template for new projects.

The new template offers a modernized and officially supported starting point for building microservices with ABP. Please consider transitioning to the new template for the latest features and improvements.

Issues

Please open issues on the main GitHub repository: https://github.com/abpframework/abp/issues

How to Run?

You can run it in Visual Studio or use Microsoft Tye. Tye is a developer tool that makes developing, testing, and deploying micro-services and distributed applications easier.

Requirements

  • .NET 6.0 Runtime (required for TYE)
  • .NET 9.0 SDK
  • Docker
  • Yarn v1.20+(not v2) or npm v6+ (already installed with Node)

Instructions

  • Clone the repository ( eShopOnAbp )

  • Install Tye (follow these steps)

    dotnet tool update --global Microsoft.Tye --prerelease
    
  • Rename .env.example file to .env file and provide PayPal ClientID and Secret.

  • Execute run-tye.ps1

  • Wait until all applications are up!

    • You can check the running application from tye dashboard (localhost:8000)
    • Note: If you see all of your applications keep restarting on tye dashboard or tye console, you may be facing SSL certificate issues. To diagnose the problems better, check any application logs. If it is related to SSL, developer certificate creation may have failed because of Powershell issues regarding authorization. Check the PowerShell script running configuration and set the policy for your local machine as follows:
    Get-ExecutionPolicy -list
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
    
     See [Microsoft Powershell documentation](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-executionpolicy?view=powershell-7.2) for more information.
    
    
  • After all your backend services are up, start the angular application:

    cd apps/angular
    yarn start
    

Certificate Expiration

If the certificate is expired, you'll see the following error:

Generating a new certificate will fix that issue. To generate a new one,

  • Remove etc/dev-cert/localhost.pfx

  • Manually execute create-certificate.ps1 or re-run solution with run-tye.ps1

Roadmap

Version 1.0

  • New blank micro-service solution ✔️
  • Creating Deployment Scenarios ✔️
  • Creating empty business services ✔️
  • Implementing business logic into services ✔️
    • Payment with PayPal ✔️
    • Basket, Catalog, Order Service ✔️
  • Docker Image creation ✔️
  • Helm deployment for local k8s cluster ✔️
  • Switch Ocelot to Envoy YARP in Public Web gateway ✔️
  • Use gRPC for catalog microservice ✔️
  • Management Side of Services ✔️
  • Administration application (to manage products and orders with a dashboard) ✔️
  • Deployment to azure k8s ✔️

Version 2.0

  • Product-detail page on the shopping application (with CMS-kit integration for comments and rating components) ✔️
  • Switch to Keycloak from IdentityServer in AuthServer
  • Re-design authorization/permission management
  • Integrate a new sample microservice written in GoLang (Or Python / Java)

Documentation

  • We will create an e-book to explain the solution

Current Architecture

eSopOnAbp Phase 1

ABP Community Talks

We've organized a meetup related to this solution. You can watch it here: https://community.abp.io/events/microservice-development-iv7d46ov