So I have been to beaches in Salerno, and all the way down in Amantea, and I am not sure that there will be many (if any) "white sandy beaches" like you are looking for on the western side (I don't know much about the east coast). I just checked a few pictures of various towns between Salerno and Amantea and at the NICEST looking ones, the beach would be a bit darker than a very shelly Atlantic coast of Florida. More like grey sand? Is that ok? I just checked Paestum and while the town isn't very historical, the Greek Ruins nearby are VERY historical, and I looked at pictures and the sand is kinda white/tan-ish? They do have private beach club places, but its nothing like a bustling resort area, nor a bustling town. You're in luck that there is a train that goes more or less down the coast to take you to many places. The Santa Maria di Castellabate and Agropoli area (Agropoli by a train, Santa Maria by a further bus) is very quaint and old feeling, but they are tan sand places.
You could probably spend a week somewhere along the coast between Naples and Santa Maria di Castellabate doing random things, but it might be easier with a car the farther you go past Salerno.
The most "developed" resort areas I have experienced don't lend themselves to having "town centers" to walk through repeatedly, and they are more like resort after resort after resort.
If you wanted an easy relaxing beach day, even though I don't like Positano, its very straightforward and RIGHT there in front of the town.