So, it seems likely that now that the coup has failed, Turkey will become an increasingly autocratic state that will purge anyone opposed to Erdogan's policies. Which likely means less and less secularism, along with more and more "progress" towards a theocracy.
Not that it was very democratic anyway, with only members of a particular party allowed to vote. I guess now they'll just stop pretending.