{"id":23125419,"url":"https://github.com/leeeqo/currency-exchange","last_synced_at":"2026-05-10T16:05:12.475Z","repository":{"id":260688051,"uuid":"881885490","full_name":"leeeqo/currency-exchange","owner":"leeeqo","description":"REST API for describing currencies and exchange rates","archived":false,"fork":false,"pushed_at":"2024-11-04T20:07:45.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T08:42:12.905Z","etag":null,"topics":["jdbc","postgresql","servlets"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leeeqo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-11-01T12:46:22.000Z","updated_at":"2024-11-04T20:07:48.000Z","dependencies_parsed_at":"2024-11-01T21:20:24.584Z","dependency_job_id":"63b3d670-ebe2-46d8-93f0-e70397a8441b","html_url":"https://github.com/leeeqo/currency-exchange","commit_stats":null,"previous_names":["leeeqo/currency-exchange"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leeeqo/currency-exchange","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeeqo%2Fcurrency-exchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeeqo%2Fcurrency-exchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeeqo%2Fcurrency-exchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeeqo%2Fcurrency-exchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leeeqo","download_url":"https://codeload.github.com/leeeqo/currency-exchange/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeeqo%2Fcurrency-exchange/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269102227,"owners_count":24360121,"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-08-06T02:00:09.910Z","response_time":99,"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":["jdbc","postgresql","servlets"],"created_at":"2024-12-17T08:13:32.107Z","updated_at":"2026-05-10T16:05:12.400Z","avatar_url":"https://github.com/leeeqo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Exchange Rate Project\n\nREST API for describing currencies and exchange rates.\n\nTech Task: https://zhukovsd.github.io/java-backend-learning-course/projects/currency-exchange/\n\n### Stack:\n\n- Jakarta Servlets\n- JDBC\n- Jackson\n- PostgreSQL\n\n### Endpoints:\n\n#### GET `/currencies`\n\nGetting all the currencies.\n\n#### GET `/currency/USD`\n\nGetting currency specified by code.\n\n#### POST `/currencies`\n\nAdding new currency into DB. Request body:\n\n```\n{\n    \"name\": \"Euro\",\n    \"code\": \"EUR\",\n    \"sign\": \"€\"\n}\n```\n\n#### GET `/exchangeRates`\n\nGetting all the exchange rates.\n\n#### GET `/exchangeRate/USDEUR`\n\nGetting exchange rate specified by currency codes.\n\n#### POST `/exchangeRates`\n\nAdding new exchange rate to DB. Request body:\n\n```\n{\n    \"baseCurrencyCode\": \"USD\"\n    \"targetCurrencyCode\": \"EUR\"\n    \"rate\": \"0.99\"\n}\n```\n\n#### PUT `/exchangeRate/USDEUR`\n\nUpdating existing exchange rate. Request body:\n\n```\n{\n    \"rate\": 1.34\n}\n```\n\n#### GET `/exchange?from=BASE_CURRENCY_CODE\u0026to=TARGET_CURRENCY_CODE\u0026amount=$AMOUNT`\n\nCalculating of the transfer of a certain amount of funds from one currency to another specified by codes.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeeqo%2Fcurrency-exchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleeeqo%2Fcurrency-exchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeeqo%2Fcurrency-exchange/lists"}