Coder Social home page Coder Social logo

devmentors / pacco Goto Github PK

View Code? Open in Web Editor NEW
793.0 59.0 201.0 1.86 MB

Sample microservices solution in .NET Core 3.1 based on the cloud-agnostic approach

Home Page: https://devmentors.io/courses/microservices-net

License: MIT License

Shell 74.76% Dockerfile 7.08% PowerShell 18.16%
microservices microservice microservices-architecture

pacco's Introduction

Pacco

What is Pacco?

Pacco is an open source project using microservices architecture written in .NET Core 3.1. The domain tackles an exclusive parcels delivery which revolves around the general concept of limited resources availability. Pacco does use an event-driven approach in order to asynchronously integrate between the microservices.

Pacco overview

Find out more about distributed systems patterns and practices in Microservices .NET online course and check out our article about starting Pacco microservices and infrastructure. The solution is maintained by devmentors.io.

Microservices .NET


The overall solution makes use of the cloud agnostic tools and most of them can be found under cncf.io. To easily plug into the complex infrastructure, Convey is being used.

Infrastructure


Depending on the particular microservice complexity, either the clean architecture + DDD approach (as presented below) is used or another style that is the best fit.

Clean architecture

Which repositories should I clone?

Please clone the following repositories and put them into the same working directory:

The above repositories can be also cloned via git-clone.sh script and updated via git-pull.sh script. Simply, copy the scripts to the directory next to the Pacco on your local drive, and execute them using shell. Inside Pacco, you will also find Pacco.sln that aggregates all the microservices under a single solution, in order to make it easier to work with during the local development.

How to start the solution?

Open Pacco/compose directory and execute:

docker-compose -f infrastructure.yml up -d

It will start the required infrastructure in the background. Then, you can start the services independently of each other via dotnet run or ./scripts/start.sh command in each microservice repository or run them all at once using Docker:

docker-compose -f services-local.yml up

What HTTP requests can be sent to the API?

You can find the list of all HTTP requests in Pacco-sample-scenario.rest file placed in the root folder of Pacco.APIGateway repository. This file is compatible with REST Client plugin for Visual Studio Code.

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.