concept fake repo in category elixir

This is an excerpt from Manning's book Phoenix in Action.
Your auction application in chapter 4 consisted of a fake repo, a public interface layer to access the data in the repo, and an Item struct that defined the data structure of your auction items. All that code—three modules—existed in a single file. Once you start adding more functionality, that kind of project structure will become unmaintainable.
If you’ve been following along in chapters 4 and 5, you’ve built an Auction application that contains all the business logic of your site. When you left it, it was using a fake repo to serve up hardcoded items. But the nice thing about how you created it is that you don’t care what repo it uses, where it gets its items, or anything about its logic—you just want the items. This is where having strong boundaries between your interface (like a Phoenix web application) and your business logic has huge benefits. As long as your business logic provides a public interface you can use to get the information you’re after, you can let it take care of where it keeps the data and how it gets it. You want your web interface to be as naive as possible about the inner workings of the business logic.