{"id":28306618,"url":"https://github.com/wesley-archives/exchange","last_synced_at":"2025-10-11T14:33:18.314Z","repository":{"id":286199930,"uuid":"960202617","full_name":"wesley-archives/exchange","owner":"wesley-archives","description":"A simple currency converter built in Java using the java.net.http package and the ExchangeRate API.","archived":false,"fork":false,"pushed_at":"2025-04-04T22:23:26.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T15:45:44.352Z","etag":null,"topics":["http","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wesley-archives.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}},"created_at":"2025-04-04T03:07:05.000Z","updated_at":"2025-05-12T21:11:06.000Z","dependencies_parsed_at":"2025-04-04T23:33:13.526Z","dependency_job_id":null,"html_url":"https://github.com/wesley-archives/exchange","commit_stats":null,"previous_names":["wesleybertipaglia/exchange","wesley-archives/exchange"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wesley-archives/exchange","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fexchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fexchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fexchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fexchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesley-archives","download_url":"https://codeload.github.com/wesley-archives/exchange/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesley-archives%2Fexchange/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007451,"owners_count":26084313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["http","java"],"created_at":"2025-05-24T04:12:15.871Z","updated_at":"2025-10-11T14:33:18.305Z","avatar_url":"https://github.com/wesley-archives.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Currency Converter\n\nA simple currency converter built in Java using the `java.net.http` package and the [ExchangeRate API](https://www.exchangerate-api.com). This project was created as a learning tool to practice making HTTP requests, handling JSON responses, and building a basic console app in Java.\n\n## Table of Contents\n- [Features](#features)\n- [Get Started](#get-started)\n- [Usage Example](#usage-example)\n- [Environment Variables](#environment-variables)\n- [Contributing](#contributing)\n- [License](#license)\n\n---\n\n## Features\n\n- Real-time currency conversion using ExchangeRate API\n- Simple and interactive terminal menu\n- Clean and modular Java code (MVC pattern)\n- HTTP client with `java.net.http.HttpClient`\n- JSON parsing with Gson\n- Supports custom API base URL and key via config\n\n---\n\n## Get Started\n\n### Prerequisites\n- Java 17+\n- Maven\n\n### Running the project\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/wesleybertipaglia/currency-converter.git\n```\n\n2. Navigate to the project directory\n\n```bash\ncd currency-converter\n```\n\n3. Create a `app.properties` file following the [app.properties.example](./src/main/resources/app.properties.example) file\n\n4. Build the project\n\n```bash\nmvn clean install\n```\n\n5. Run the app\n\n```bash\nmvn exec:java -Dexec.mainClass=\"com.wesleybertipaglia.Main\"\n```\n\n## Usage Example\n\n```bash\n-------------------------------------\n\n💱 CURRENCY CONVERSION MENU\n\n-------------------------------------\n\n1. Convert currency\n0. Exit\n\nChoose an option: 1\n\nEnter source currency (e.g., USD): USD\nEnter target currency (e.g., EUR): BRL\nEnter amount: 100\n\n✅ 100.00 USD = 505.76 BRL\n```\n\n## Contributing\n\nContributions are welcome! If you have any suggestions or improvements, please open an issue or a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesley-archives%2Fexchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesley-archives%2Fexchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesley-archives%2Fexchange/lists"}