Was the constitution written after the American revolution and the Louisiana purchase?

After the Revolution, but before the Louisiana Purchase.