-
Notifications
You must be signed in to change notification settings - Fork 7
Add Tutorial for Dapr + Drasi E-Commerce Scenario #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Tutorial for Dapr + Drasi E-Commerce Scenario #64
Conversation
Signed-off-by: Aman Singh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we planning to add a dev container option for this sample app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a comprehensive e-commerce sample application demonstrating how Drasi enhances Dapr microservices with real-time, cross-service data change processing. It includes 4 core Dapr microservices (Products, Customers, Orders, Reviews) with PostgreSQL state stores, and 3 Drasi-powered services (Catalog, Dashboard, Notifications) featuring 4 sources, 5 continuous queries, and 3 reaction types.
Key Changes
- Complete microservice architecture: 7 services with their own APIs, database configuration, and setup scripts
- Drasi integration: Comprehensive configuration for real-time data change detection and processing
- Rich notification system: WebSocket-enabled dashboard with React UI and animated email notifications
Reviewed Changes
Copilot reviewed 138 out of 142 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
Reviews Service | RESTful API for managing customer reviews with CRUD operations, test scripts, and PostgreSQL integration |
Products Service | Product catalog management with stock operations, threshold monitoring, and comprehensive API testing |
Orders Service | Order lifecycle management with status transitions, validation rules, and multi-item support |
Notifications Service | Real-time notification system with WebSocket UI, Redis pub/sub, and animated dashboard components |
Comments suppressed due to low confidence (2)
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Yes, will add that as a separate PR. |
Signed-off-by: Aman Singh <[email protected]>
6d21ac7
to
49053bc
Compare
Signed-off-by: Aman Singh <[email protected]>
Add tutorial for Dapr + Drasi E-Commerce Scenario
Summary
Adds a complete e-commerce sample demonstrating how Drasi enhances Dapr microservices with real-time, cross-service data change processing. Originally presented at Dapr Community Call #123. This also has devcontainer and scripts, which allows it to be run in 4 environments:
What's New
File Structure