Sample Web App to Demonstrate eBay Oauth
This sample shows you how to use eBay Oauth and deploy it in Google App Engine.
Before running the app
- Register a new Application in https://developer.ebay.com
- Update [DemoServlet]https://github.com/sengopal/appengine-try-java/blob/master/src/main/java/myapp/DemoServlet.java with the client_id and client_secret
Before you begin Google Cloud Deployment
Download and install the Google Cloud SDK.
Initialize the Cloud SDK.
Install the Cloud SDK
gcloud components install app-engine-java
Deploying to App Engine
To run the application locally, use the Maven App Engine plugin.
mvn clean appengine:run
View the app at localhost:8080.
To deploy the app to App Engine, run
mvn clean appengine:deploy
After the deploy finishes, you can view your application at
YOUR_PROJECT is your Google Cloud
project ID. You can see the new version deployed on the App Engine section of
the Google Cloud Console.