Small and very simple commented example of a server-side application where you can log in and insert files to Google Drive through their API. Also about creating folders and logging in though google.