{"id":16876374,"url":"https://github.com/mishina2228/oanda-api-rails","last_synced_at":"2025-04-11T11:32:30.303Z","repository":{"id":37045302,"uuid":"190824564","full_name":"mishina2228/oanda-api-rails","owner":"mishina2228","description":"Get exchange data using OANDA API","archived":false,"fork":false,"pushed_at":"2024-10-29T09:22:27.000Z","size":1820,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T11:39:06.774Z","etag":null,"topics":["rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/mishina2228.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":"2019-06-07T23:43:09.000Z","updated_at":"2024-10-29T09:22:25.000Z","dependencies_parsed_at":"2023-10-21T02:29:33.134Z","dependency_job_id":"ea2f0c15-ec83-40ef-8feb-3bc629517bda","html_url":"https://github.com/mishina2228/oanda-api-rails","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/mishina2228%2Foanda-api-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishina2228%2Foanda-api-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishina2228%2Foanda-api-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishina2228%2Foanda-api-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mishina2228","download_url":"https://codeload.github.com/mishina2228/oanda-api-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248384099,"owners_count":21094672,"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":["rails","ruby"],"created_at":"2024-10-13T15:39:15.110Z","updated_at":"2025-04-11T11:32:30.280Z","avatar_url":"https://github.com/mishina2228.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oanda-api-rails\n\n[![CI](https://github.com/mishina2228/oanda-api-rails/workflows/ci/badge.svg)](https://github.com/mishina2228/oanda-api-rails/actions)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b6b9044754816afc195c/maintainability)](https://codeclimate.com/github/mishina2228/oanda-api-rails/maintainability)\n[![codecov](https://codecov.io/gh/mishina2228/oanda-api-rails/branch/master/graph/badge.svg)](https://codecov.io/gh/mishina2228/oanda-api-rails)\n[![GitHub license](https://img.shields.io/github/license/mishina2228/oanda-api-rails)](https://github.com/mishina2228/oanda-api-rails/blob/master/LICENSE)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)\n\nGet exchange data using OANDA API\n\n## Prerequisites\n\n- Ruby 3.2+\n- Node.js 14.17.0+ || 16.0.0+\n- Yarn 1.x+\n\n## Installation\n\n### Set up Rails app\n\nFirst, install the gems and javascript packages required by the application:\n\n```sh\nbundle\nyarn\n```\n\nNext, execute the database migrations/schema setup:\n\n```sh\nbin/rails db:setup\n```\n\n### Resque settings\n\nCreate a configuration file to manage [Resque](https://github.com/resque/resque)\nand [resque-scheduler](https://github.com/resque/resque-scheduler)\nwith [God](http://godrb.com/)\n\n```sh\nRAILS_ENV=[RAILS_ENV] bundle exec itamae local config/itamae/resque.rb\n```\n\nLoad configuration file\n\n```sh\ngod -c /etc/god/master.conf\n```\n\nResque, resque-scheduler operation with God\n\n- check the status\n- start\n- restart\n- stop\n\n```sh\ngod status resque-oanda_api_rails\ngod start resque-oanda_api_rails\ngod restart resque-oanda_api_rails\ngod stop resque-oanda_api_rails\n```\n\n### Start the app\n\n#### development\n\n```sh\nbin/dev\n```\n\n#### production\n\n```sh\nbin/rails assets:precompile RAILS_ENV=production\nbin/rails s -e production\n```\n\n## Configuration Files\n\n### Notify when Resque job failed\n\nIf a Resque job fails, a notification email will be sent.  \nPlease fill in the settings of email to config/mail.yml .  \nThe following is an example when sending from Gmail:\n\n```yml\nproduction:\n  delivery_method: :smtp\n  smtp_settings:\n    address: 'smtp.gmail.com'\n    port: 587\n    domain: 'gmail.com'\n    user_name: [USER_NAME]\n    password: [PASSWORD]\n    authentication: 'plain'\n    enable_starttls_auto: true\n  recipients:\n    - [EMAIL_ADDRESS]\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishina2228%2Foanda-api-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmishina2228%2Foanda-api-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishina2228%2Foanda-api-rails/lists"}