Mental wellness apps keep solving the wrong problem. They get better at delivering content — more exercises, nicer animations, smarter copy — without ever fixing the thing that makes them feel hollow: they don't remember you.
You can tell an app that work deadlines spike your anxiety, that a certain breathing exercise helped last Tuesday, that you've had a rough week. Next session, none of that exists. The chatbot starts fresh. Whatever you shared is gone.
That's not a UX problem. It's a data architecture problem. And you can't patch it with a better model or a warmer tone. You need a persistence layer that actually reflects how emotional data is shaped — not as flat logs, but as a web of relationships between states, triggers, and what helped. That's what this post is about.
SurrealDB is the emotional memory layer. MongoDB is the operational backbone.…