This is an example Google App Engine web app that communicates with Google Earth Engine. It uses memcache to cache results and avoid exceeding request quotas.
To set up the app yourself, download the Earth Engine API repository from GitHub:
git clone https://github.com/google/earthengine-api.git
Navigate to the Trendy Lights example code:
cd ./earthengine-api/demos/trendy-lights/
Then follow the instructions in the Developer Docs to deploy an EE-based App Engine app. For the credentials section, you'll need a Service Account, not an OAuth2 Client ID.