Skip to content
@soat-tech-challenge

FIAP Pós Tech - Software Architecture - Tech Challenge

Repositories for the "Tech Challenge" group project (2023 SOAT1 Group 63) from FIAP Pós Tech's Software Architecture course

FIAP Pós Tech - Software Architecture - Tech Challenge

Repositories for the "Tech Challenge" group project (2023 SOAT1 Group 63) from FIAP Pós Tech's Software Architecture course.

Project

The project goal was to study software architecture related topics by creating a self-service and kitchen managment service for a fictional restaurant.

The client may identifiy itself; Checkout an order; Confirm it; Pay it via an external payment service, and the order could be then processed by the kitchen employees.

Phases

The project and the course itself are divided in several 'phases' each one covering some software architecture-related topics. Some of these topics required code rewriting, refactoring and repository splitting.

Therefore there are releases in each repo for each phase they were relevant and what topics were covered in them.

Details and diagrams of each phase

Phase 1

  • Monolithic Spring Boot application with PostgreSQL
  • Hexagonal (Ports and Adapters) architecture
  • Domain Driver Design brainstorming
DDD diagrams

Phase 1 DDD

  • Dockerfile and docker-compose.yml files created

Phase 2

  • Replaced docker-compose.yml with Kubernetes config
  • Project rewritten using Clean architecture

Phase 3

  • Refactored project for use within AWS
    • Created Lambda identification flow (JWT auth)
  • Created initial Terraform files, for use with Terraform Cloud
  • Set up Github Actions workflows
    • Maven build and semver bump
    • Push/Deploy to Docker Hub and AWS
    • Terraform Cloud remote plan, apply and destroy

Phase 3 Client flow AWS diagram

Phase 4

  • Backend was split into 4 microservices
    • Two of them now use DynamoDB instead of PostgreSQL
  • Sonarcloud set up. For Maven projects CI-based analysis was used (for Java code coverage via Jacoco)
  • Unit and behavior tests were created using Cucumber and JUnit.
  • Terraform files modified for use with Vocareum Labs via AWS Academy, provided by the course.

Phase 4 Client flow AWS diagram

Phase 5

  • Use SAGA pattern in payment flow
    • Using AWS SQS
  • Create OWASP ZAP and LGPD RIPD reports.

Phase 5 diagram

Versioning

The repos in this organization mostly follow semver, but the major version corresponds to the project's target phase at the time of commit. E.g: v4.X.X -> Phase 4

Hackaton

In the course there was a Hackaton, which had a similar but smaller project.

The goal was to develop a system to manage employee's time cards. It could generate reports and send emails, among other requirements. The repositories for this project can also be found in this organization.

Diagrams

Hackaton

We also made a diagram for a more feature rich version of the project, although it was not necessary to implement it. Hackaton Phase 2

Group members

Popular repositories Loading

  1. github-workflows github-workflows Public

    Reusable workflows for our organization.

    1

  2. service-identification service-identification Public

    Microservice to handle client (user) management and identification

    Java 1

  3. service-payment service-payment Public

    Microservice to handle payment process of an order

    Java 1

  4. backend backend Public

    Backend of a self service and kitchen manegement system for a fictional fast food restaurant. Made with Spring Boot

    Java

  5. terraform-database terraform-database Public

    Terraform files for database-related services

    HCL

  6. lambda-identification-nationalid lambda-identification-nationalid Public

    Lambda function to handle autentication by national id of a self service and kitchen manegement system for a fictional fast food restaurant.

    JavaScript

Repositories

Showing 10 of 18 repositories
  • .github Public

    Organization profile README.md

    soat-tech-challenge/.github’s past year of commit activity
    0 0 0 0 Updated Mar 29, 2024
  • terraform-network Public

    Terraform files for network-related services

    soat-tech-challenge/terraform-network’s past year of commit activity
    HCL 0 MIT 0 0 1 Updated Mar 29, 2024
  • terraform-database Public

    Terraform files for database-related services

    soat-tech-challenge/terraform-database’s past year of commit activity
    HCL 0 MIT 0 0 0 Updated Mar 29, 2024
  • terraform-computing Public

    Terraform files for computing-related services

    soat-tech-challenge/terraform-computing’s past year of commit activity
    HCL 0 MIT 0 0 0 Updated Mar 29, 2024
  • soat-tech-challenge/service-production’s past year of commit activity
    Java 0 MIT 0 0 0 Updated Mar 29, 2024
  • service-payment Public

    Microservice to handle payment process of an order

    soat-tech-challenge/service-payment’s past year of commit activity
    Java 1 MIT 0 0 0 Updated Mar 29, 2024
  • service-order Public

    Microservice to handle order and product management

    soat-tech-challenge/service-order’s past year of commit activity
    Java 0 MIT 0 0 0 Updated Mar 29, 2024
  • service-identification Public

    Microservice to handle client (user) management and identification

    soat-tech-challenge/service-identification’s past year of commit activity
    Java 1 MIT 0 0 0 Updated Mar 29, 2024
  • service-common Public

    Configuration and misc files reused across Sprint Boot services

    soat-tech-challenge/service-common’s past year of commit activity
    Java 0 MIT 0 0 0 Updated Mar 29, 2024
  • lambda-identification-nationalid Public

    Lambda function to handle autentication by national id of a self service and kitchen manegement system for a fictional fast food restaurant.

    soat-tech-challenge/lambda-identification-nationalid’s past year of commit activity
    JavaScript 0 MIT 0 0 1 Updated Mar 29, 2024

Top languages

Loading…

Most used topics

Loading…