So here is the diagram!
The LM317 is an adjustable three-terminal positive-voltage regulator capable of supplying more than 1.5 A over an output-voltage range of 1.25 V to 37 V.
How it looks! This is the LM317T. It has hole for connecting Heat Sink as it can produce a lot of heat in high current operation. This IC has very nice features like Large range of voltage, Nice amount of Output Current, Internal Short Circuit Current Limiting mechanism, Good value for Dropout voltage etc. If you are planning on using a load that will draw large current make sure to use a good Heat Sink & Thermal Paste with this.To learn more about Ripple, click here!
For Rectified DC circuit you can take a look at this.
For LM317 Datasheet, you can click this.So, that was all for now. Any question, you can ask! I will try to answer.
Good luck with this project.