any traditional harmony book will contain a few chapters about melody. so will a counterpoint text. they typically focus on the same 'rules' e.g. opposite motion after a leap of a 4th or more
it basically comes down to understanding direction and non-chord tones. Tonal harmony by kostka and counterpoint in composition by salzer & schlachter are terrific texts
a real/fake book is nothing but chord charts to various songs. filled with melody against harmony. probably should be your next resource after a textbook