{"id":37201062,"url":"https://github.com/tmrrwnxtsn/currency-conversion-api","last_synced_at":"2026-01-14T23:10:58.884Z","repository":{"id":39703695,"uuid":"451090825","full_name":"tmrrwnxtsn/currency-conversion-api","owner":"tmrrwnxtsn","description":":currency_exchange: RESTful API of the currency conversion service","archived":false,"fork":false,"pushed_at":"2022-06-24T20:31:41.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-19T05:29:12.459Z","etag":null,"topics":["conversion","converter","go","golang","migrations","postgresql","rest-api","swagger-codegen"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tmrrwnxtsn.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}},"created_at":"2022-01-23T12:00:59.000Z","updated_at":"2022-06-24T21:08:24.000Z","dependencies_parsed_at":"2022-08-24T05:01:06.937Z","dependency_job_id":null,"html_url":"https://github.com/tmrrwnxtsn/currency-conversion-api","commit_stats":null,"previous_names":["tmrrwnxtsn/currency-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmrrwnxtsn/currency-conversion-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrrwnxtsn%2Fcurrency-conversion-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrrwnxtsn%2Fcurrency-conversion-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrrwnxtsn%2Fcurrency-conversion-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrrwnxtsn%2Fcurrency-conversion-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmrrwnxtsn","download_url":"https://codeload.github.com/tmrrwnxtsn/currency-conversion-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrrwnxtsn%2Fcurrency-conversion-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28437934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: 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":["conversion","converter","go","golang","migrations","postgresql","rest-api","swagger-codegen"],"created_at":"2026-01-14T23:10:56.151Z","updated_at":"2026-01-14T23:10:58.128Z","avatar_url":"https://github.com/tmrrwnxtsn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Задание\n\nНеобходимо написать валютный калькулятор. Будет табличка в бд такой структуры:\n\n| Валюта1 | Валюта2 | Курс | Последнее время обновления |\n|---------|---------|------|----------------------------|\n| USD | RUB | 75 | 2021-09-23 09:13:00+00 |\n\nРеализуете апишку, в которой будет два запроса:\n\n1. Создание записи в таблице валют:\n\n   POST /api/create { «currency1»: «USD», «currency2»: «RUB» }\n2. Перевод значения из одной валюты в другую:\n\n   /api/convert { «currencyFrom»: «USD», «currencyTo»: «RUB», «value»:  1 }\n\nНа фоне работает горутина, которая запускается раз в N минут, проходится по всем записям в таблице и обновляет для них\nсоотношения(берется из интернета. Можно парсить страницу, можно найти апишку. Второй вариант лучше)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmrrwnxtsn%2Fcurrency-conversion-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmrrwnxtsn%2Fcurrency-conversion-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmrrwnxtsn%2Fcurrency-conversion-api/lists"}