This app is an order app that is build with DDD. Domain-driven design (DDD) is an approach to developing software for complex needs by deeply connecting the implementation to an evolving model of the core business concepts.
- Java 17
- Spring
[AR] | [Entities] | [VO] |
---|---|---|
Table | Waiter | Name |
Costumer | number |
[AR] | [Entities] | [VO] |
---|---|---|
Order | Status | |
Modification |
[AR] | [Entities] | [VO] |
---|---|---|
Drink | Price | |
Modification | ||
Name |
Order
- CreateOrderUseCase
- AddDrinkUseCase
- RemoveDrinkUseCase
- AddTableUseCase
- ChangeTableUseCase
Table
- CreateTableUseCase
- AddCostumerUseCase
- RemoveCostumerUseCase
- AddWaiterUseCase
Drink
- CreateDrinkUseCase
Order
- AddDrinkEventUseCase
- AddTableEventUseCase Endpoints:
To run this project locally, please ensure you have Java installed on your machine, then clone this repository by running.
git clone https://github.com/BrianSammit/Bar-ddd.git
Open the project with your favorite IDE. I recommend you to use IntelliJIDEA
Order
- CreateOrderUseCaseTest
- AddDrinkUseCaseTest
- RemoveDrinkUseCaseTest
- AddTableUseCaseTest
- ChangeTableUseCaseTest
- AddDrinkEventUseCaseTest
- AddTableEventUseCaseTest
Table
- CreateTableUseCaseTest
- AddCostumerUseCaseTest
- RemoveCostumerUseCaseTest
- AddWaiterUseCaseTest
Drink
- CreateDrinkUseCaseTest
To check the tests:
- Go to the test folder and chose the test you want to run and click on the play icon next to the test class.
👤 Brian Cruz
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Softka
This project is MIT licensed.!