Front Interview Question

Build a data layer for a frontend application