Welcome to the project-cloud sample repository. This repository contains the code that is referred to by the codecentric blog article Assembling a cloud hosted application. The article refers to git tags at certain paragraphs. These tags are used throughout the repository to label revisions of the sample code. While you follow along the article you can switch from tag to tag in order to see the code revision for that specific part of the article.
In order to run the sample application follow the steps below.
cd backend
./gradlew clean build && java -jar build/libs/project-cloud-0.1.0.jar
cd ../frontend
yarn install
yarn startThe following steps help you to deploy the project cloud application to AWS.
Build the backend:
cd backend
./gradlew clean buildBuild the frontend:
cd ../frontend
yarn install
yarn buildPrepare your AWS account for Terraform state handling:
cd ../infrastructure/account
terraform init
terraform applyBuild AWS infrastructure and deploy backend and frontend:
cd ../environments/dev/
terraform init
terraform apply