Code Monkey home page Code Monkey logo

beriniwlew / eshoponabp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abpframework/eshoponabp

0.0 0.0 0.0 14.79 MB

Reference microservice solution built with the ABP Framework and .NET, runs on Kubernetes with Helm configuration, includes API Gateways, Angular and ASP.NET Core MVC applications, PostgreSQL and MongoDB databases

License: MIT License

Shell 0.01% JavaScript 1.91% C# 77.72% PowerShell 2.42% TypeScript 5.52% CSS 0.64% HTML 6.88% Smarty 0.22% Dockerfile 4.61% SCSS 0.07%

eshoponabp's Introduction

eShopOnAbp

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

See the announcement post for more info.

Issues

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

How to Run?

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

Requirements

  • .NET 6.0+
  • Docker
  • Yarn

Instructions

  • Clone the repository ( eShopOnAbp )

  • Install Tye (follow these steps)

  • 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 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 with SSL, developer certificate creation may have failed because of powershell issues regarding authorization. Check the powershell script running configuration and set policy for your local machine as:
     Get-ExecutionPolicy list
     Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

    See Microsoft Powershell documentation for more information.

  • After all your backend services are up, start the angular application:

    cd apps/angular
    yarn start

Certificate Expiration

If the cerficiate is expired you'll see following error:

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

  • Remove etc/dev-cert/localhost.pfx

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

Roadmap

  • 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 in Public Web gateway
  • Use gRPC for catalog microservice
  • Management Side of Services
  • Administration application (to manage products and orders, with a dashboard)
  • Product-detail page on the shopping application (with CMS-kit integration for comments and rating components)
  • Deployment to azure k8s

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/posts/abp-community-talks-2022.1-microservice-development-a98jnsa0

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.