# kepinn-12/tugasbesar-machinelearning-rb-rpp architecture

> Architecture diagram of the GitHub repository kepinn-12/tugasbesar-machinelearning-rb-rpp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kepinn-12/tugasbesar-machinelearning-rb-rpp
- Repository: https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp

## Overview

This repository is a scaffold for a Flask RAM-price prediction web application, not yet a working prediction workflow. The WSGI entry point creates the Flask app, and the app factory registers an otherwise empty routes blueprint. Prediction and currency services contain only notes about planned dependencies; the CSV is present, but no code shown loads it or connects it to prediction. The README provides no further product capabilities, so relationships beyond app creation and route registration are not inferred.

Main entry points: [`webapp/__init__.py`](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/__init__.py) (Flask app factory), [`application.py`](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/application.py) (WSGI entry point), [`webapp/routes.py`](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/routes.py) (HTTP routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Web runtime"]
  node_entry["WSGI entry point<br/>[application.py]"]
  node_factory["Flask app factory<br/>[__init__.py]"]
  node_routes["HTTP routes<br/>[routes.py]"]
end

subgraph group_services["Planned services"]
  node_prediction["Prediction service<br/>[prediction.py]"]
  node_currency["Currency service<br/>[currency.py]"]
end

subgraph group_assets["Data assets"]
  node_ramdata["RAM pricing data"]
end

node_user(("Web user"))

node_entry -->|"creates app"| node_factory
node_factory -->|"registers blueprint"| node_routes

click node_entry "https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/application.py"
click node_factory "https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/__init__.py"
click node_routes "https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/routes.py"
click node_prediction "https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/services/prediction.py"
click node_currency "https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/services/currency.py"
click node_ramdata "https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/data/ram_pricing_intelligence_2026.csv"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_factory,node_routes,node_user toneBlue
class node_prediction,node_currency toneAmber
class node_ramdata toneMint
```

## Components

### Web runtime

- [WSGI entry point](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/application.py): `application.py`
- [Flask app factory](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/__init__.py): `webapp/__init__.py`
- [HTTP routes](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/routes.py): `webapp/routes.py`

### Planned services

- [Prediction service](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/services/prediction.py): `webapp/services/prediction.py`
- [Currency service](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/webapp/services/currency.py): `webapp/services/currency.py`

### Data assets

- [RAM pricing data](https://github.com/kepinn-12/tugasbesar-machinelearning-rb-rpp/blob/main/data/ram_pricing_intelligence_2026.csv): `data/ram_pricing_intelligence_2026.csv`

### Other components

- **Web user**

## Connections

- WSGI entry point → Flask app factory: creates app (evidence: `application.py`)
- Flask app factory → HTTP routes: registers blueprint (evidence: `webapp/__init__.py`)
