{"id":48385124,"url":"https://github.com/codbex/codbex-currencies","last_synced_at":"2026-04-30T15:01:15.986Z","repository":{"id":130750193,"uuid":"483527047","full_name":"codbex/codbex-currencies","owner":"codbex","description":"Currencies Management Module","archived":false,"fork":false,"pushed_at":"2026-03-23T14:45:32.000Z","size":4753,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-03-24T10:58:37.290Z","etag":null,"topics":["module"],"latest_commit_sha":null,"homepage":"https://codbex.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codbex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-20T06:02:28.000Z","updated_at":"2026-03-23T14:45:35.000Z","dependencies_parsed_at":"2023-03-16T20:01:07.417Z","dependency_job_id":"b9692be2-60ec-4f8f-93b8-26a5d2249fcc","html_url":"https://github.com/codbex/codbex-currencies","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/codbex/codbex-currencies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codbex%2Fcodbex-currencies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codbex%2Fcodbex-currencies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codbex%2Fcodbex-currencies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codbex%2Fcodbex-currencies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codbex","download_url":"https://codeload.github.com/codbex/codbex-currencies/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codbex%2Fcodbex-currencies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["module"],"created_at":"2026-04-05T21:30:53.853Z","updated_at":"2026-04-30T15:01:15.981Z","avatar_url":"https://github.com/codbex.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://www.codbex.com/icon.svg\" width=\"32\" style=\"vertical-align: middle;\"\u003e codbex-currencies\n\n## 📖 Table of Contents\n* [🗺️ Entity Data Model (EDM)](#️-entity-data-model-edm)\n* [🧩 Core Entities](#-core-entities)\n* [🔗 Sample Data Modules](#-sample-data-modules)\n* [🐳 Local Development with Docker](#-local-development-with-docker)\n\n## 🗺️ Entity Data Model (EDM)\n\n![model](images/model.png)\n\n## 🧩 Core Entities\n\n### Entity: `Currency`\n\n| Field     | Type       | Details                   | Description                              |\n|-----------| ---------- |---------------------------| ---------------------------------------- |\n| Id        | INTEGER    | PK, Identity    | Unique identifier for the currency.      |\n| Code      | VARCHAR    | Length: 3, Unique, Not null | Code of the currency (e.g., USD).        |\n| Name      | VARCHAR    | Length: 127, Not null     | Name of the currency.                    |\n| Numeric  | VARCHAR    | Length: 3, Unique, Not null | Numeric code of the currency.            |\n| Rounding  | INTEGER    | Not null                  | Rounding value for the currency.         |\n| Base      | BOOLEAN    | Nullable                  | Indicates if this is the base currency.  |\n| Rate      | DOUBLE     | Not null                  | Exchange rate of the currency.           |\n| CreatedAt | TIMESTAMP  | Audit, Nullable                  | Timestamp when the entry was created. |\n| CreatedBy | VARCHAR    | Audit, Length: 20, Nullable      | User who created the entry.           |\n| UpdatedAt | TIMESTAMP  | Audit, Nullable                  | Timestamp when the entry was updated. |\n| UpdatedBy | VARCHAR    | Audit, Length: 20, Nullable      | User who updated the entry.           |\n\n### Entity: `CurrencyRate`\n\n| Field     | Type       | Details                     | Description                              |\n|-----------| ---------- | --------------------------- | ---------------------------------------- |\n| Id        | INTEGER    | PK, Identity      | Unique identifier for the currency rate. |\n| Currency  | INTEGER    | FK, Not null              | Foreign key referencing the currency.    |\n| Date      | DATE       | Not null                 | Date of the currency rate.               |\n| Rate      | DOUBLE     | Not null            | Exchange rate value.                     |\n| CreatedAt | TIMESTAMP  | Audit, Nullable                    | Timestamp when the entry was created.     |\n| CreatedBy | VARCHAR    | Audit, Length: 20, Nullable        | User who created the entry.               |\n| UpdatedAt | TIMESTAMP  | Audit, Nullable                    | Timestamp when the entry was updated.     |\n| UpdatedBy | VARCHAR    | Audit, Length: 20, Nullable        | User who updated the entry.               |\n\n## 🔗 Sample Data Modules\n\n- [codbex-currencies-data](https://github.com/codbex/codbex-currencies-data)\n\n## 🐳 Local Development with Docker\n\nWhen running this project inside the codbex Atlas Docker image, you must provide authentication for installing dependencies from GitHub Packages.\n1. Create a GitHub Personal Access Token (PAT) with `read:packages` scope.\n2. Pass `NPM_TOKEN` to the Docker container:\n\n    ```\n    docker run \\\n    -e NPM_TOKEN=\u003cyour_github_token\u003e \\\n    --rm -p 80:80 \\\n    ghcr.io/codbex/codbex-atlas:latest\n    ```\n\n⚠️ **Notes**\n- The `NPM_TOKEN` must be available at container runtime.\n- This is required even for public packages hosted on GitHub Packages.\n- Never bake the token into the Docker image or commit it to source control.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodbex%2Fcodbex-currencies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodbex%2Fcodbex-currencies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodbex%2Fcodbex-currencies/lists"}