Not sure if you heard about the Office App Model Samples (Office AMS).
Microsoft initially created this project to provide code samples for developers, which contains App Model code of some common tasks that could be done with Full Trust solutions.
They have now moved the project to GitHub, to kind of hand it over to the community. Well, you can contribute now!
Here is the link: https://github.com/OfficeDev/PnP
Click here to read the same content in Portuguese.