Skip to content

A lightweight low ceremony microservices without Docker, Docker-compose and Helm chart run on Dapr runtime

License

Notifications You must be signed in to change notification settings

shajeeck/practical-dapr

 
 

Repository files navigation

practical-dapr project

A lightweight low ceremony microservices without Docker, Docker-compose and Helm chart files are lifted and shifted the cloud-native apps to Kubernetes platform and run on Dapr runtime.

Price graphql-api identity-api product-catalog-api inventory-api

Show your support

If you liked practical-dapr project or if it helped you, please give a star ⭐ for this repository. That will not only help strengthen our .NET community but also improve cloud-native apps development skills for .NET developers in around the world. Thank you very much 👍

CoolStore application

High level architecture

Technical Stack

Infrastructure

  • Windows 10 - the OS for developing and building this demo application.
  • Windows subsystem Linux - Ubuntu OS - the subsystem that helps to run easily the bash shell on Windows OS.
  • Docker for desktop (Kubernetes enabled) - the easiest tool to run Docker, Docker Swarm and Kubernetes on Mac and Windows.
  • Kubernetes / AKS - the app is designed to run on Kubernetes (both locally on "Docker for Desktop", as well as on the cloud with AKS).
  • Dapr - Portable, event-driven, runtime for building distributed applications across cloud and edge.
  • Tye - Tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.

Back-end

  • ASP.NET Core - Cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux
  • IdentityServer4 - OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
  • grpc-dotnet - High-performance, open-source universal RPC framework
  • featherhttp - Lightweight low ceremony API for web services
  • dapr-dotnet - Dapr SDK for .NET
  • FluentValidation - Popular .NET validation library for building strongly-typed validation rules
  • MediatR - Simple, unambitious mediator implementation in .NET
  • hotchocolate - Hot Chocolate GraphQL server for .NET
  • efcore - Modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations
  • Scrutor - Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection
  • serilog - Simple .NET logging with fully-structured events

Front-end

Get starting

One command to rule them all

$ tye run

Want to develop this application? Reference at Developer Guidance

Want to deployment this application? Reference at Deployment Guidance

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :p

About

A lightweight low ceremony microservices without Docker, Docker-compose and Helm chart run on Dapr runtime

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 90.4%
  • HTML 5.9%
  • PowerShell 3.1%
  • Other 0.6%