App Engine application for the Udacity training course.
- Update the value of
application
inapp.yaml
to the app ID you have registered in the App Engine admin console and would like to use to host your instance of this sample. - Update the values at the top of
settings.py
to reflect the respective client IDs you have registered in the Developer Console. - Update the value of CLIENT_ID in
static/js/app.js
to the Web client ID - (Optional) Mark the configuration files as unchanged as follows:
$ git update-index --assume-unchanged app.yaml settings.py static/js/app.js
- Run the app with the devserver using
dev_appserver.py DIR
, and ensure it's running by visiting your local server's address (by default localhost:8080.) - Generate your client library(ies) with the endpoints tool.
- Deploy your application.
Sessions: implemented by creating 3 classes that methods interact with: 1) Session 2) SessionForm 3) SessionForms. Most of the properties use the string field data type, with the exception of date which uses the date data type making it a structured date, and start time which uses the integer data type so that it can be sorted. Speaker: Speaker names are stored in the Session class. The getFeaturedSpeaker method utilizes memcache since only a simple message needs to be stored.
-
Get Sessions in 4 hour window - Implemented in filterPlayground 2 endpoint
-
Get Conferences excluding certain topic - Implemented in filterPlayground 3 endpoint
##Query Problem Problem: The problem is that you cannot have two inequality filters in one query My Solution (implemented in FilterPlayground #1 endpoint): Do one inequality filter on start time; then loop through sessions and add sessions to new list that meet the 'typeOfSession' criteria