Designing an Appointment Booking App
In previous chapters, we’ve seen sample implementations that were limited in scope because it would be impractical to have a full application on every covered topic.
This chapter covers the design of a barber appointment booking application, which will combine what we’ve learned from previous chapters:
- Dependency injection
- Unit testing
- Test doubles using mocks and fakes
- DDD
- Applying TDD
Chapter 9 and 10 will cover the implementation of this chapter. This chapter is about the business requirements and design decisions, not about the implementation (the code).
Before proceeding with this chapter and the rest of Part 2, I would highly recommend that you are familiar with the topics that I’ve listed above. They are all covered in Chapter 2 to Chapter 7.
In this chapter, we will cover the following:
- Business requirements to build a booking system
- The design of the system DDD-style...