GumRoad interview question

A Coding challenge in rails and react