|
| 1 | +# Google App Engine Standard Environment Java Samples |
| 2 | + |
| 3 | +This is a repository that contains Java code samples for [Google App Engine |
| 4 | +standard environment][ae-docs]. |
| 5 | + |
| 6 | +[ae-docs]: https://cloud.google.com/appengine/docs/java/ |
| 7 | + |
| 8 | +## Prerequisites |
| 9 | + |
| 10 | +### Download Maven |
| 11 | + |
| 12 | +These samples use the [Apache Maven][maven] build system. Before getting |
| 13 | +started, be sure to [download][maven-download] and [install][maven-install] it. |
| 14 | +When you use Maven as described here, it will automatically download the needed |
| 15 | +client libraries. |
| 16 | + |
| 17 | +[maven]: https://maven.apache.org |
| 18 | +[maven-download]: https://maven.apache.org/download.cgi |
| 19 | +[maven-install]: https://maven.apache.org/install.html |
| 20 | + |
| 21 | +### Create a Project in the Google Cloud Platform Console |
| 22 | + |
| 23 | +If you haven't already created a project, create one now. Projects enable you to |
| 24 | +manage all Google Cloud Platform resources for your app, including deployment, |
| 25 | +access control, billing, and services. |
| 26 | + |
| 27 | +1. Open the [Cloud Platform Console][cloud-console]. |
| 28 | +1. In the drop-down menu at the top, select **Create a project**. |
| 29 | +1. Give your project a name. |
| 30 | +1. Make a note of the project ID, which might be different from the project |
| 31 | + name. The project ID is used in commands and in configurations. |
| 32 | + |
| 33 | +[cloud-console]: https://console.cloud.google.com/ |
| 34 | + |
| 35 | + |
| 36 | +## Samples |
| 37 | + |
| 38 | +### Hello World |
| 39 | + |
| 40 | +This sample demonstrates how to deploy an application on Google App Engine. |
| 41 | + |
| 42 | +- [Documentation][ae-docs] |
| 43 | +- [Code](helloworld) |
| 44 | + |
| 45 | +### Sending Email |
| 46 | + |
| 47 | +#### Sending Email with Mailgun |
| 48 | + |
| 49 | +This sample demonstrates how to send email using the [Mailgun API][mailgun-api]. |
| 50 | + |
| 51 | +- [Documentation][mailgun-sample-docs] |
| 52 | +- [Code](mailgun) |
| 53 | + |
| 54 | +[mailgun-api]: https://documentation.mailgun.com/ |
| 55 | +[mailgun-sample-docs]: https://cloud.google.com/appengine/docs/java/mail/mailgun |
| 56 | + |
| 57 | +#### Sending Email with SendGrid |
| 58 | + |
| 59 | +This sample demonstrates how to send email using the [SendGrid][sendgrid]. |
| 60 | + |
| 61 | +- [Documentation][sendgrid-sample-docs] |
| 62 | +- [Code](sendgrid) |
| 63 | + |
| 64 | +[sendgrid]: https://sendgrid.com/docs/User_Guide/index.html |
| 65 | +[sendgrid-sample-docs]: https://cloud.google.com/appengine/docs/java/mail/sendgrid |
| 66 | + |
| 67 | +### Sending SMS with Twilio |
| 68 | + |
| 69 | +This sample demonstrates how to use [Twilio](https://www.twilio.com) on [Google |
| 70 | +App Engine standard environment][ae-docs]. |
| 71 | + |
| 72 | +- [Documentation][twilio-sample-docs] |
| 73 | +- [Code](twilio) |
| 74 | + |
| 75 | +[twilio-sample-docs]: https://cloud.google.com/appengine/docs/java/sms/twilio |
| 76 | + |
| 77 | +### App Identity |
| 78 | + |
| 79 | +This sample demonstrates how to use the [App Identity API][appid] to discover |
| 80 | +the application's ID and assert identity to Google and third-party APIs. |
| 81 | + |
| 82 | +- [Documentation][appid] |
| 83 | +- [Code](appidentity) |
| 84 | + |
| 85 | +[appid]: https://cloud.google.com/appengine/docs/java/appidentity/ |
| 86 | + |
| 87 | +### Other Samples |
| 88 | + |
| 89 | +- [Sample Applications][sample-apps] |
| 90 | + |
| 91 | +[sample-apps]: https://cloud.google.com/appengine/docs/java/samples |
| 92 | + |
| 93 | + |
| 94 | +## Contributing changes |
| 95 | + |
| 96 | +See [CONTRIBUTING.md](../CONTRIBUTING.md). |
| 97 | + |
| 98 | +## Licensing |
| 99 | + |
| 100 | +See [LICENSE](../LICENSE). |
| 101 | + |
0 commit comments