"Fundamentals of Power Electronics" by Robert w. Ericson.
It is basic book on power electronics. It will give complete details about design of DC-DC converters.
Inductor size depends on the amount of current ripple you want to pass through the inductor. Capacitor size depends on the amount of voltage ripple you want to appear across it.
I agree with the recommendation from our colleague Sreekanth Rtg. Moreover some years ago, when I was Master student, I worked on a report related with the design of a simple DC-DC boost converter. Please find the report attached. I hope that you will find this useful!
Dear if you are starting in the study of dc-dc converters, an exellent software that you can find in order to help you is PExprt from ANSY. You select the converter, frequency, power, type of inductor and the software calculates for you all the alternatives to build the best inductor.
As suggested in earlier posts you can refer to Robert W Ericson
The main thing that has to be taken care for inductor design is the the current ripple, maximum current flowing through the inductor, rms current of the inductor and the maximum flux density of the core you are using. Depending you can choose the Area of the core the number of turns.
For designing of Capacitor the current ripple and voltage ripple allowed is requirec for buck and for boost only the voltage ripple, guess so.
For the design of Buck or Boost converter, you may consult as suggested in earlier posts you can refer to "Fundamentals of power electronics" by Robert W Ericson or "Power Electronics Converters, Applications, and Design" by N. Mohan, T. Undeland and W.P. Robbins.