What matters is the skill level (Melee skill) to raise your chance to hit, Endurance and Agility (you need high HP and AP to close with enemies while they stand there shooting at you), and a good perk strategy.
Strength isn't that important for these characters- 4 or 5 Strength is plenty (you'll get power armor later). I almost always make h2h or melee characters.