Product Hunt interview question

Coding assignment that uses react + ruby on rails