The Apollo LM first flew in earth orbit on the Apollo 9 mission in March 1969. Its first test flight was only 4 months before the Apollo 11 mission landed one on the moon! And the first all-up Saturn V flew unmanned in November 1967. The incentives and funding were there very rapid development.