EmotionsAndCareProjectApi
A REST API for an emotional-care app that connects patients and specialists, tracks journals and questionnaires, and turns adherence into a growing garden with collectible rewards. ASP.NET Core separates controllers, business services, repositories, and domain models; stage requirements live in data and dispatch through named validation strategies.
Technical highlights
- Garden progression is validated on the server from data-driven stage requirements; named strategies add new criteria without growing a central switch statement.
- First-time actions return their achievement and sticker in the same response, and journal writes are rolled back if their reward cannot be persisted.
- Domain, data, business, and HTTP layers keep persistence separate from progression rules, while typed Firebase payloads route the client to the relevant module.