Servidor da API do banco CVetti, projeto LP 3 ano
Este é um projeto Java com Gradle, preparado para deployment na AWS usando Terraform.
.
├── app/ # Código fonte da aplicação
│ ├── src/
│ │ ├── main/java/ # Código principal
│ │ └── test/java/ # Testes
│ └── build.gradle # Configuração do módulo app
├── terraform/ # Configuração de infraestrutura AWS
│ ├── main.tf # Provider e configuração principal
│ ├── variables.tf # Variáveis
│ ├── outputs.tf # Outputs
│ ├── vpc.tf # Configuração de VPC
│ ├── compute.tf # Load Balancer e Security Groups
│ └── README.md # Documentação do Terraform
├── gradle/ # Gradle wrapper
├── gradlew # Gradle wrapper script (Unix)
├── gradlew.bat # Gradle wrapper script (Windows)
└── settings.gradle # Configuração do projeto Gradle
- Java 17 ou superior
- Gradle 8.5+ (incluído via wrapper)
- Para deploy: Terraform >= 1.0 e AWS CLI
./gradlew build./gradlew run./gradlew test./gradlew cleanA infraestrutura AWS é gerenciada pelo Terraform. Consulte terraform/README.md para instruções detalhadas de deployment.
-
Configure as credenciais AWS:
aws configure
-
Inicialize o Terraform:
cd terraform terraform init -
Revise o plano:
terraform plan
-
Aplique a infraestrutura:
terraform apply
- Java 17: Linguagem de programação
- Gradle: Sistema de build
- JUnit 5: Framework de testes
- Guava: Biblioteca utilitária do Google
- Terraform: Infrastructure as Code
- AWS: Cloud provider (VPC, ALB, Security Groups)
- Faça fork do projeto
- Crie uma branch para sua feature (
git checkout -b feature/MinhaFeature) - Commit suas mudanças (
git commit -m 'Adiciona MinhaFeature') - Push para a branch (
git push origin feature/MinhaFeature) - Abra um Pull Request