Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.23 KB

File metadata and controls

49 lines (34 loc) · 1.23 KB

Java project Spring-Boot with Google App Engine (Google Cloud Platform)

Tecnologies

  • Java 8
  • Spring-boot
  • Spring-Web
  • Spring-Data-JPA
  • Embedded Tomcat
  • App Engine
  • Cloud SQL
  • Docker

Instructions

Before run project, create Google Cloud Platform Free-Trial account

Google Cloud Platform Free-Trial

Create new project Google Developer Apis Console

Google Developer Apis Console

Create Cloud SQL (Mysql) Instance

Google Cloud SQL Page


Clone and build project

git clone https://github.com/elemental-source/gcloud-docker-spring-boot-jpa-starter.git
cd gcloud-docker-spring-boot-jpa-starter
./gradlew clean build

Download GCloud SDK

Google Cloud SDK Client Download

Configure Google Account Project

Quickstart for Java in the App Engine Flexible Environment

gcloud config set project YOUR_PROJECT_ID
./gradlew appengineDeploy

Test

GET -> https://PROJECT_ID.appspot.com/api/user