Day trip to trani -mid November

Hi my wife and I will be travelling to bari for 3 days and we are planning of going to trani for a day. We will go either on Friday or Saturday

Any recommendations were to visit , where to eat ? We are not driving but taking the train or bus. Which of the 2 is better - bus or train,?

Thanks