https://github.com/cvigueras/orders-webapi-outside-in-kata
This is just a simple kata to practice Outside In and web Api Patterns such as CQRS.
https://github.com/cvigueras/orders-webapi-outside-in-kata
cqrs csharp csharp-code mediatr object-mother outside-in-tdd tdd-kata
Last synced: 8 months ago
JSON representation
This is just a simple kata to practice Outside In and web Api Patterns such as CQRS.
- Host: GitHub
- URL: https://github.com/cvigueras/orders-webapi-outside-in-kata
- Owner: cvigueras
- License: mit
- Created: 2023-05-10T12:38:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-27T07:15:57.000Z (over 2 years ago)
- Last Synced: 2025-01-05T16:33:18.924Z (9 months ago)
- Topics: cqrs, csharp, csharp-code, mediatr, object-mother, outside-in-tdd, tdd-kata
- Language: C#
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Orders Repository API
This is just a simple kata to practice Outside In and web Api Patterns such as CQRS## Requirements
Our API should be able to:
* Create an order with basic data.
* Display an order as requested.* Update basic data of and order, specified by its OrderNUmber.
* Add a product to an existent order product list as requested by user.
* Create a bill for and specified order.## Features (Gherkin Language)
### Orders display
- Having a stored order in the system
- When the user requests it by its OrderNumber
- That orders is displayed with the following data:
>- **ID: 1**
>- **OrderNumber: OWA87643**
>- **Customer: John Doe**
>- **Address: A Simple Street, 123**
>- **Products:**
> - **Product:**
> - **Name: Computer Monitor**
> - **Price: 100€**
> - **Product:**
> - **Name: Keyboard**
> - **Price: 30€**### Orders products update
- Having a stored order in the system
- When the user adds two new products
- That orders is displayed with the following data:
>- **ID: 1**
>- **OrderNumber: OWA87643**
>- **Customer: John Doe**
>- **Address: A Simple Street, 123**
>- **Products:**
> - **Product:**
> - **Name: Computer Monitor**
> - **Price: 100€**
> - **Product:**
> - **Name: Keyboard**
> - **Price: 30€**
> - **Product:**
> - **Name: Mouse**
> - **Price: 15€**
> - **Product:**
> - **Name: Router**
> - **Price: 70€**