Skip to content
CAI
Software that uses CAICheck a score

Angular2Guy/AngularAndSpring

55.9

Adequate · 8 November 2026

18.3k

lines of production code

Java

with TypeScript

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a crypto trading application built with a Spring Boot backend and an Angular frontend, designed to fetch, store, and analyze market data from exchanges like Bitfinex, Bitstamp, and Coinbase. It provides user authentication via JWT, persists historical quote data in MongoDB, and streams events through Kafka, while offering statistical analysis and reporting capabilities. The infrastructure supports local development and Kubernetes deployment via Helm charts, with a strong emphasis on architectural integrity and test coverage.

How it got here

2017–2020 — Project scaffolding and Kubernetes deployment

7 changes.

This period established the foundational infrastructure for the Angular and Spring Boot application, including Docker, CI, and IDE configurations. It progressed to modernizing dependencies to Spring Boot 4.1 and Java 25, and introduced Helm charts and scripts for deploying the application stack with Kafka and MongoDB on Minikube.

2022 — Initial backend and frontend scaffolding

12 changes.

This period established the foundational architecture for a crypto trading application, introducing a Spring Boot backend with MongoDB and Kafka integration alongside an Angular 18 frontend. The work focused on implementing core domain entities, JWT-based authentication, and REST APIs for market data, while simultaneously setting up local development environments via Helm charts and Eclipse configurations.

2023–2026 — test coverage and architecture documentation

5 changes.

This period focused on expanding unit test coverage for backend components, including the MyUser controller, MongoQuoteRepository, and JWT utilities, while configuring test environments for MongoDB and Kubernetes. Additionally, system architecture diagrams were added to document the Angular and Spring system structure.

Features

Add Helm chart for local Kafka and Zookeeper development setup

A new Helm chart named 'kafkadev' has been added to the minikube/kafka directory to facilitate local development environments. This chart provisions Zookeeper and Kafka deployments, along with their respective services and Kubernetes Secrets for configuration. The Kafka container image is sourced from 'soldevelo/kafka' (latest), while Zookeeper uses 'bitnami/zookeeper' (latest). The setup exposes Kafka via a NodePort service on port 9092 and configures the broker to connect to Zookeeper on port 2181, allowing users to deploy a functional message queue stack locally with minimal configuration.

minikube/kafka · high confidence

Add Minikube Helm templates for Angular and Spring Boot deployment

This change introduces new Helm chart templates for the minikube Angular and Spring Boot application. The \_helpers.tpl file provides utility functions for generating resource names and listing environment variables from secrets and config maps. The kubTemplate.yaml file defines the Kubernetes resources required to run the application, including a Secret for sensitive configuration, PersistentVolume and PersistentVolumeClaim for MongoDB data storage, a Deployment and Service for the MongoDB database, and a Deployment and NodePort Service for the web application. The web application deployment includes liveness and startup probes configured to check the Spring Boot Actuator health endpoints.

minikube/angularandspring/templates · high confidence

Added Eclipse IDE configuration files

The project now includes specific configuration files for the Eclipse IDE, including \.settings/org.eclipse.core.resources.prefs\ to enforce UTF-8 encoding for the project and \.settings/org.eclipse.m2e.core.prefs\ to configure Maven integration (enabling workspace project resolution). These changes improve the out-of-the-box experience for developers using Eclipse by ensuring consistent file encoding and proper Maven lifecycle handling within the IDE.

.settings, backend · high confidence

Added Eclipse IDE configuration files for Java 25 and UTF-8 encoding

New Eclipse project settings have been added to standardize the development environment. The project now enforces UTF-8 encoding across all source and resource directories and configures the Java compiler to target platform version 25, ensuring consistent build behavior for developers using the Eclipse IDE.

backend/.settings · high confidence

Added Eclipse IDE configuration files for the frontend module

The frontend module now includes .classpath and .project files, enabling direct import and building of the project within the Eclipse IDE using the JDT and M2E plugins. This configuration defines the source folders (src/main/java, src/main/resources, src/test/java, src/test/resources), sets the Java SE-25 runtime, and configures the Maven build path, allowing developers to work on the frontend code using Eclipse without relying solely on external build tools or other IDEs.

frontend · high confidence

Added domain entities and JWT utilities for user authentication and market data storage

The backend now includes core domain models to support user management and market data persistence. A new JwtUtils class handles JWT token extraction, validation, and role checking, while the MyUser entity implements Spring Security's UserDetails interface for authentication. To support the trading features, multiple MongoDB document entities have been added: QuoteBf, QuoteBs, and QuoteCb (along with their daily and hourly variants) store market quote data with specific fields for different exchanges, and a RevokedToken entity tracks logged-out sessions to invalidate JWTs.

angularandspring-backend · high confidence

Added minikube setup and helm command scripts

New shell scripts have been added to the minikube directory to assist with local Kubernetes environment configuration. minikubeSetup.sh provides commands to configure minikube resources (memory, CPU, driver), enable the metrics-server addon, and start the cluster with an expanded node-port range. helmCommand.sh contains commented-out examples for installing Helm charts for Angular/Spring and Kafka applications.

minikube · high confidence

Added system architecture diagrams and workspace configuration

The \structurizr\ directory now includes a \.gitignore\ file to exclude local workspace artifacts (\workspace.json\, \.structurizr/\) and a new SVG component diagram (\structurizr-1-Components.svg\) that visualizes the Angular and Spring system's architecture, detailing components such as the Angular Frontend, User Controller, Kafka Consumer/Producer, and various services.

structurizr · high confidence

Initial Helm chart for Angular and Spring with Kafka deployment

Added a new Helm chart (version 0.1.1) to package the Angular and Spring application with Kafka for Kubernetes deployment. The chart includes configuration for the web application, MongoDB, and Kafka services, utilizing the Soldevelo Kafka image and Bitnami Zookeeper image. It defines environment variables for Spring profiles, JWT secrets, and Kafka controller/broker settings, along with persistent volume claims for MongoDB storage.

minikube/angularandspring, minikube/angularandspringwithkafka · high confidence

Initial Helm chart templates for Kubernetes deployment

Added Helm template files (\_helpers.tpl and kubTemplate.yaml) that define the Kubernetes resources required to run the application stack. These templates configure Deployments, Services, Secrets, and PersistentVolumeClaims for the Kafka broker, MongoDB database, and the web application, including environment variable injection and resource limits.

minikube/angularandspringwithkafka/templates · high confidence

Initial backend resource configuration and reporting assets

This change introduces the foundational configuration files and assets for the backend service. It adds environment-specific Spring Boot configurations (application.properties, application-kafka.properties, application-prod.properties) that define Kafka connectivity, MongoDB connection strings with compression, JWT security settings, and Actuator health/metrics endpoints. Additionally, it includes a .gitignore for static assets, a log4j.xml for logging configuration, and a currencyReport.jrxml file for generating cryptocurrency reports using JasperReports.

backend/src/main/resources · high confidence

Initial backend structure for crypto trading application

The backend application is introduced with a new Spring Boot entry point and a comprehensive set of configuration classes. Security is handled via a JWT token filter and a web security configuration that enforces stateless sessions and sets Content Security Policy headers. The system integrates with MongoDB for persistence and scheduling locks, and configures Kafka for event streaming. REST controllers are added to expose endpoints for Bitfinex, Bitstamp, and Coinbase orderbooks and quotes, alongside user authentication and statistics. Scheduled tasks are implemented to periodically fetch market data and calculate averages, utilizing virtual threads for asynchronous execution.

backend/src/main/java · high confidence

Initial project scaffolding with Docker, CI, and monitoring scripts

This change introduces the foundational build and operational infrastructure for the Angular and Spring Boot application. It adds a Dockerfile targeting JDK 25 with specific JVM memory tuning, a .travis.yml configuration for Java 11 CI, and a .gitignore for IDE and build artifacts. Additionally, it provides shell scripts to manage local development dependencies (MongoDB 8.2, Kafka via Soldevelo image, Prometheus, Grafana, and Structurizr) and a Maven wrapper for consistent builds, establishing the environment required to run the application and its associated monitoring stack.

(repo-wide) · high confidence

Behavioural changes

Angular 18 migration with standalone components and signals

The frontend application has been upgraded to Angular 18, adopting the standalone component architecture and replacing the traditional module-based approach with the new \app.config.ts\ provider model. This change introduces Angular signals for reactive state management (e.g., in \DetailBase\) and utilizes the \takeUntilDestroyed\ operator for automatic cleanup, resulting in a more modern and performant codebase.

frontend/src · high confidence

Test coverage

Added architecture and pattern validation tests; Added test configuration for MongoDB and Kubernetes constraints; Added unit tests for Coinbase, User, and Statistics services; Added unit tests for JWT utility functions; Added unit tests for MongoQuoteRepositoryImpl; Added unit tests for password encryption and JWT token generation; Added unit tests for the MyUser controller.

Dependencies

Updated Maven Wrapper to version 3.2.0 with Maven 3.9.5

The project's Maven Wrapper has been upgraded to version 3.2.0, and the underlying Maven distribution is now set to version 3.9.5. This ensures that developers and CI systems using the wrapper will automatically download and use these specific versions, providing consistent build behavior across environments.

.mvn · high confidence

Upgrade to Spring Boot 4.1 and Java 25

The project has been upgraded to Spring Boot 4.1.0, which requires Java 25. This update includes the addition of the \spring-boot-starter-restclient\ dependency for HTTP client functionality and the \spring-boot-starter-micrometer-metrics\ dependency for metrics support. The backend also integrates \springdoc-openapi-starter-webmvc-ui\ version 3.0.0-RC1 for OpenAPI documentation and \shedlock\ version 6.0.1 for distributed scheduling with MongoDB. On the frontend, the Angular application has been updated to version 22.0.1.

(dependencies) · high confidence

Housekeeping

Added Eclipse IDE configuration files for the frontend module

New Eclipse project settings have been added to configure the frontend module for development in Eclipse. These files set the Java compiler compliance and source/target platforms to version 25, enforce UTF-8 encoding for all source and resource directories, and configure M2E workspace project resolution.

frontend/.settings · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 54 → 56 (+2.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 66 → 66 (+0.0)
  • Architecture 88 → 88 (-0.1)
  • Maturity 76 → 76 (+0.0)
  • Readiness 55 → 55 (+0.2)
  • Security 64 → 68 (+4.5)
  • Domain Modelling 92 → 92 (+0.0)
  • Accessibility 44 → 47 (+3.2)

Resolved (11)

  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • Low CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • Low CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • No assertions: statistic1MonthEmpty (backend/src/test/java/ch/xxx/trader/usecase/services/StatisticServiceTest.java)
  • No assertions: statistic1YearEmpty (backend/src/test/java/ch/xxx/trader/usecase/services/StatisticServiceTest.java)
  • No assertions: statistic2YearEmpty (backend/src/test/java/ch/xxx/trader/usecase/services/StatisticServiceTest.java)
  • No assertions: statistic3MonthEmpty (backend/src/test/java/ch/xxx/trader/usecase/services/StatisticServiceTest.java)
  • No assertions: statistic5YearEmpty (backend/src/test/java/ch/xxx/trader/usecase/services/StatisticServiceTest.java)
  • No assertions: statistic6MonthEmpty (backend/src/test/java/ch/xxx/trader/usecase/services/StatisticServiceTest.java)

New (11)

  • Documentation: no build, run or usage example (README.md)
  • Documentation: no build, run or usage example (frontend/src/angular/README.md)
  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • High CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • Low CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • Medium CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • Medium CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)
  • Medium CVE: [GHSA redacted] (frontend/src/angular/package-lock.json)

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

Angular2Guy/AngularAndSpring was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 80f182f3783221352ffba3ec93e2a9116d83f9c8 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.