This project is no longer actively developed or maintained.
This application implements a simple backend for a Tic Tac Toe game using Google Cloud Endpoints, App Engine, and Java.
- Import the project into Eclipse.
- Make sure the App Engine SDK jars are added to the
war/WEB-INF/lib
directory, either by adding them by hand, or having Eclipse do it. (An easy) way to do this in Eclipse is to unset and reset whether or not the project uses Google App Engine. - 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/render.js
to reflect the web client ID you have registered in the APIs Console. - Run the application, and ensure it's running by visiting your local server's address (by default localhost:8888.)
- Deploy your application.