Returnbear interview question

design an api frontend to backend