A once struggling city is staging a big comeback as new residents are drawn to affordable homes and growing job opportunities.