I believe the answer is: the colonies had their own charters authorizing representative assemblies with the authority to draft laws
The representatives assemblies that the colonies had at that time was given with similar duties as Congress that we see in our current society. They were chosen by the people that represent them and had the vote to pass a certain legislation during the assembly.