What's wrong with a global User module?
We often see a User
module in the root project directory. Here are some thoughts about its impact on the system architecture and some examples how to split it into cleaner and more isolated components.
Might be helpful to understand how to separate the code when using Phoenix Contexts.
https://medium.com/@mkaszubowski/whats-wrong-with-a-global-user-module-ed7ed013a519
Read next Just in time for Spooktober: `Ghoul` 0.1.1: An undead cleanup crew for your processes