This is a basic example of how we can calculate the expenses of a project based on the number of employees that are working on and their category and hourly rate.
Hourly rate is based on Employee Rank Hours per year are based on Company (all the employees same number of hours)
Seggregate the responsabilities of:
- User creation
- Project creation
- Calculations
- Usage of DDD Approach (avoid anemic domain)
- Add Data Access Layer
- Create an API