Interestingly, it was marketed as a medicinal beverage and an alternative to alcohol. By the turn of the century, root beer ...
This means you can replicate that effect using any fizzy drink, no alcohol required. The kind of soda you choose is ultimately up to you, but ginger ale and root beer are two ideal choices.