GumRoad Interview Question

A Coding challenge in rails and react