Skip to content

marcoberger/project-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Build and run the project cloud application locally

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 start

Deploy the project cloud application to AWS

The following steps help you to deploy the project cloud application to AWS.

Build the backend:

cd backend
./gradlew clean build

Build the frontend:

cd ../frontend
yarn install
yarn build

Prepare your AWS account for Terraform state handling:

cd ../infrastructure/account
terraform init
terraform apply

Build AWS infrastructure and deploy backend and frontend:

cd ../environments/dev/
terraform init
terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors