Where is source code?

As answered here there is a complete tutorial to create an app from scratch in the developer documentation i linked above.