|
|
2 years ago | |
|---|---|---|
| .github/workflows | 3 years ago | |
| apps | 2 years ago | |
| build | 2 years ago | |
| docs | 4 years ago | |
| etc | 2 years ago | |
| gateways | 3 years ago | |
| services | 2 years ago | |
| shared | 2 years ago | |
| .env.example | 3 years ago | |
| .gitattributes | 5 years ago | |
| .gitignore | 2 years ago | |
| EShopOnAbp.sln | 3 years ago | |
| LICENSE | 5 years ago | |
| NuGet.Config | 4 years ago | |
| README.md | 2 years ago | |
| common.props | 5 years ago | |
| global.json | 3 years ago | |
| package.json | 4 years ago | |
| run-tye.ps1 | 4 years ago | |
| stop-containers.ps1 | 3 years ago | |
| tye.yaml | 3 years ago | |
| yarn.lock | 4 years ago | |
README.md
eShopOnAbp
This is a reference project for those who want to build microservice solutions with the ABP Framework.
See the announcement post for more info.
Live demo 👉 https://www.eshoponabp.com/
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 7.0+
- Docker
- Yarn
Instructions
-
Clone the repository ( eShopOnAbp )
-
Install Tye (follow these steps)
-
Rename
.env.examplefile to.envfile and provide PayPal ClientID and Secret. -
Execute
run-tye.ps1 -
Wait until all applications are up!
- You can check the running application from
tyedashboard (localhost:8000) - Note: If you see all of your applications keep restarting on
tyedashboard ortyeconsole, 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 LocalMachineSee [Microsoft Powershell documentation](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-executionpolicy?view=powershell-7.2) for more information. - You can check the running application from
-
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.ps1or re-run solution withrun-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
EnvoyYARP 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 ✔️ (https://eshoponabp.com)
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
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
