Code Monkey home page Code Monkey logo

bookworm's Introduction

BookStore: The practical .NET Aspire

Introduction

โญ This is a pet project to demonstrate the practical use of .NET Aspire. The project is a cloud-native application with applying Domain-Driven Design (DDD) and Vertical Slice Methodology to organize the codebase.

The Goals of the Project

  • Building a cloud-native application with .NET Aspire
  • Using Vertical Slice Architecture to organize the codebase
  • Using Domain-Driven Design to design the domain model
  • Implement the CQRS pattern with MediatR
  • Using RabbitMQ on top MassTransit for messaging
  • Using gRPC for inter-service communication
  • API versioning
  • Health checks
  • OpenAPI/Swagger
  • AuthN/AuthZ
    • OAuth2 with Duende IdentityServer
    • BFF with Duende BFF
  • Observability with .NET Aspire
  • Add MailDev for local email testing
  • CI/CD with Azure DevOps
  • Implement Frontend for the application
    • Using Blazor for the Storefront
    • Using Next.js for the Admin Panel
  • Testing
    • Service unit tests
    • Integration tests with Aspire Testing & WireMock
    • Blazor unit tests with bunit
    • New testing approach in Next.js with SafeTest
  • Output Caching, Response Caching and Distributed Caching with Redis
  • LLMs integration with Semantic Kernel
  • Deployment with Aspirate on k3d
  • EDA document with EventCatalog

Domain Business & Bounded Contexts - Services Boundaries

  • Catalog: Display books with pagination and search functionality.
  • Shopping Cart: Add books to the shopping cart and place an order.
  • Order: Display orders with pagination and search functionality.
  • Identity: Register, login, and manage user profile.
  • Notification: Send email notifications.
  • Rating: Rate products.

Domain Business & Bounded Contexts

How to run the project

Prerequisites

Running the project

  1. Clone the repository
git clone [email protected]:foxminchan/BookWorm.git
  1. Run the project
dotnet run --project src/BookWorm.AppHost/BookWorm.AppHost.csproj

Note

Ensure that you have Docker running on your machine.

Contributing

  • Fork the repository
  • Create a new branch for your feature
  • Make your changes
  • Create a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

bookworm's People

Contributors

foxminchan avatar

Stargazers

 avatar Luca Milan avatar  avatar David Cuccia (he/him) avatar

Watchers

Lucian avatar  avatar

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.