Lucca 's central location between Florence and the Ligurian beach town of Viareggio makes it a perfect base of operations for exploring the upper reaches of Tuscany while avoiding the nonstop tourist crush common to other cities .