What did the founding fathers mean by republic?

What the founding fathers meant by republic is citizens having rights to elect those who represent them. The founding fathers are believed to have been against democracy.