Server code for bucketlist sample app.