@hittitezombie@glitzersachen@cstross They had slightly less than a decade to get someone on the moon and the country was (more or less) supportive of the program.
There's an argument that Kennedy's assassination meant a country in mourning supported his legacy. Couple that with "better dead than red" cold-war paranoia and the US was prepared to tolerate quite a bit.