By Victor Kaiser-Pendergrast
##Glass Application## The code for the Glass application is located in the GlassNotesApp folder. It is a fairly straightforward Glass app.
If anything, the parts to note are located under the auth subpackage. These classes are used to handle OAuth authentication.
Also, see the classes under the api subpackage, which demonstrate making API calls to the server through HTTP GETs and POSTs.
##App Engine Component## The App Engine side is also fairly basic; you can find it in the GlassNotesServer folder. The Endpoints API makes OAuth 2.0 rather easy to implement, see the code in EndpointApi for how easy it is to use OAuth 2.0 on App Engine.
User notes are saved with the Datastore API and a write cache. A cron job is used to periodically persist all the data in the write cache to the datastore. See UserDatabase for how the write cache is implemented.