{"id":19238830,"url":"https://github.com/vic778/money-exchange","last_synced_at":"2025-06-18T19:31:55.531Z","repository":{"id":61664221,"uuid":"551522866","full_name":"vic778/money-exchange","owner":"vic778","description":"this is a simple exchange web app that allow users to exchange their moeny according to the currency they have choosed. it update the curency database by getting rule from an api. for that i'm using background job and sidekiq cron for schedule every single day at 07h 05 AM to run the function. if the exchange is done it create a object and so far w","archived":false,"fork":false,"pushed_at":"2022-10-21T17:06:10.000Z","size":192,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-11T06:24:30.233Z","etag":null,"topics":["postgresql","redis","rswag","rubocop","ruby","ruby-on-rails","sidekiq","sidekiq-cron"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/vic778.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}},"created_at":"2022-10-14T15:01:48.000Z","updated_at":"2023-05-13T12:00:47.000Z","dependencies_parsed_at":"2022-10-20T01:15:22.548Z","dependency_job_id":null,"html_url":"https://github.com/vic778/money-exchange","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic778%2Fmoney-exchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic778%2Fmoney-exchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic778%2Fmoney-exchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic778%2Fmoney-exchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vic778","download_url":"https://codeload.github.com/vic778/money-exchange/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234530689,"owners_count":18847682,"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","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":["postgresql","redis","rswag","rubocop","ruby","ruby-on-rails","sidekiq","sidekiq-cron"],"created_at":"2024-11-09T16:34:50.917Z","updated_at":"2025-01-18T15:55:54.506Z","avatar_url":"https://github.com/vic778.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MONEY EXCHANGE\n\nOn https://fixer.io/ you can sign up to get access to an WebApi that provides you with currency\nexchange rates. The API provides the rates in JSON structures.\nSign up to get access and familiarize you with the API.\nBelow are a few programming tasks that utilize this service in different ways.\n1. Create a ruby script within the rails project that takes in two currency codes and one\namount as input. The amount is in the first currency, and the script should calculate the\ncurrency amount for the second currency code (using the latest exchange rates). The\nprogram should do the calculation in process and not utilize any external calculation api.\n2. Extend the program with an optional input date, do the same calculation as in step 1 but\nuse the currency rate for the date inputted to the program. You need to find out the url for\nretrieving exchange rate a given date using the documentation on fixer.io.\n3. Create a program that will be executed once a day. The program should retrieve the\nlatest exchange rate and store it in a database. This task involves designing a suitable\ndatabase structure.\nOptional tasks (time permitting)\n1. Create an API that offers the same calculations as in task 1-1 and task 1-2\n2. Build a simple web on top of the service you created in task 2, that offers this calculation\nservice to the user.\n3. Extend the API from task 2-1, with a new method to return all the exchange rates for one\ncurrency for a given period of time. The exchange rates should be extracted from the\ndatabase created in task 1-3.\n4. Build a web page on top of task 2-3, to show how an exchange rate develops for a time\nperiod, find a satiable graphical component to visualize the exchange rate.\n  models:\n\n  - Exchange\n  - Currency\n\n### Information\nKindly open a PR and ask for review so anyone available can have a deeper look and give you some feedback. before doing anything else check the jobs controller and understand what it does. the code are basic to start the project however any update or changes is welcome. \n## Built With\n\n- Rails\n- Ruby \n- Postgresql\n- Sidekiq\n- Sidekiq cron \n- Redis\n- Rswag\n\n## Getting Started\n\nHere are the steps to follow in order to get this project on your local computer.\n\n### Prerequisites\n\n`rails v7.0.2 +`\n\n`ruby v3.0.2 +`\n\n### Setup\n\nclone this repo by typing `git clone https://github.com/vic778/money-exchange`\n\n### Install\n\ninstall the dependencies by typing `bundle install`\n\n### Usage\n\nstart the local server by running `rails s`\n\n### Testing\n\nrun the tests by typing `rails rswag`\n\n![img](app/assets/images/screenshot.png)\n\n### Documentation\n\n\n## Author\n\n👤 **Victor Barh**\n\n- GitHub: [@Vvic778](https://github.com/vic778)\n- Twitter: [@victoirBarh](https://twitter.com/)\n- LinkedIn: [LinkedIn](https://linkedin.com/in/victoir-barh)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/vic778/money-exchange/issues/6)\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n N/A\n\n## 📝 License\n\nThis project is [MIT](lic.url) licensed.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic778%2Fmoney-exchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvic778%2Fmoney-exchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic778%2Fmoney-exchange/lists"}