Open desjoerd-test-bot[bot] opened 7 months ago
The code for the calculator app follows the principles of Domain-Driven Design (DDD) to ensure a clean and maintainable architecture. It is organized into the following domains:
UI
: Contains the user interface logic for accepting input and displaying results.Domain
: Contains the business logic for performing arithmetic operations.Infrastructure
: Contains the implementation details for interacting with external dependencies, such as error handling and result formatting.To run the calculator app, follow these steps:
npm install
.npm start
.http://localhost:3000
.To run the unit tests for the calculator app, use the following command:
npm test
This project is licensed under the MIT License.
Create a simple calculator and create some unittests for it