Documentation is in three main places, api.joomla.org, the docs folder at github and this wiki. All of these are works in progress and your contributions to improving them are welcome.
The Joomla! CMS provides a major set of examples of using the Joomla! Platform, but there are numerous other examples available.