This application implements a simple backend for a Tic Tac Toe game using Google Cloud Endpoints, App Engine, and Java.
- Update the value of
application
inappengine-web.xml
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 in
src/com/google/devrel/samples/ttt/spi/Ids.java
to reflect the respective client IDs you have registered in the APIs Console. - Update the value of
google.devrel.samples.ttt.CLIENT_ID
inwar/js/base.js
to reflect the web client ID you have registered in the APIs Console. - mvn clean install
- Run the application with
mvn appengine:devserver
, and ensure it's running by visiting your local server's address (by default localhost:8080.) - Get the client library with
mvn appengine:get_client_lib
- Deploy your application.