{"id":15454596,"url":"https://github.com/dodonki1223/stock_trader","last_synced_at":"2026-01-07T11:48:50.154Z","repository":{"id":39040214,"uuid":"283344395","full_name":"dodonki1223/stock_trader","owner":"dodonki1223","description":"Udemy の Vue JS 2 - The Complete Guide (incl. Vue Router \u0026 Vuex) 教材で作成した株式トレーダーアプリ","archived":false,"fork":false,"pushed_at":"2023-02-02T16:17:33.000Z","size":880,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T10:32:45.747Z","etag":null,"topics":["docker","docker-compose","udemy","vue","vue-resource","vue-router","vuex"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/dodonki1223.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":"2020-07-28T22:48:22.000Z","updated_at":"2021-10-08T13:00:08.000Z","dependencies_parsed_at":"2023-02-17T22:00:58.587Z","dependency_job_id":null,"html_url":"https://github.com/dodonki1223/stock_trader","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/dodonki1223%2Fstock_trader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fstock_trader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fstock_trader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fstock_trader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodonki1223","download_url":"https://codeload.github.com/dodonki1223/stock_trader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009037,"owners_count":20708881,"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":["docker","docker-compose","udemy","vue","vue-resource","vue-router","vuex"],"created_at":"2024-10-01T22:04:17.108Z","updated_at":"2026-01-07T11:48:50.121Z","avatar_url":"https://github.com/dodonki1223.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stock_trader\n\nUdemy の [Vue JS 2 - The Complete Guide (incl. Vue Router \u0026 Vuex)](https://www.udemy.com/course/vuejs-2-the-complete-guide/) 教材で作成した株式トレーダーアプリです  \nアプリの作成後、Docker化して開発がしやすいようにカスタマイズしています\n\n![00_stock_trader](https://raw.githubusercontent.com/dodonki1223/image_garage/master/stock_trader/00_stock_trader.gif)\n\n## 環境\n\n環境については以下の通りである\n\n| 環境         | バージョン  |\n|:-------------|:-----------:|\n| Node.js      | 12.16.3     |\n| Vue.js       | 2.6.11      |\n| Vuex         | 3.5.1       |\n| vue-router   | 3.3.4       |\n| vue-resource | 1.5.1       |\n\n### vue-resourceについて\n\n以前までは公式の推奨のものだったが、現在は非推奨になっています  \n今後は [Axios](https://github.com/axios/axios) を使用することをオススメします\n\n詳しくはこちら [vue-resource の引退について — Vue.js](https://jp.vuejs.org/2016/11/03/retiring-vue-resource/) を参照してください\n\n### バージョンの確認方法\n\nバージョンの確認方法は以下を実施\n\n#### Node.js\n\n```shell\n$ node -v\n```\n\n#### npmモジュールの確認方法\n\n```shell\n$ npm list module_name\n```\n\n## 開発\n\n基本的にdockerを使用して開発を行います  \n開発用に `stock_trader`、`runner` の2つのサービスを作成しているのでこの2つのサービスを使用して開発を行っていきます  \nまたデータベースは [Firebase](https://console.firebase.google.com/u/0/?hl=ja) を使用しているので [Firebase](https://console.firebase.google.com/u/0/?hl=ja) の設定を行う必要があります\n\n### Firebase設定\n\n\u003e ./src/main.js\n\nのファイル内の `Vue.http.options.root = 'https://sample.firebaseio.com/';` のURLにFirebaseで使用する Realtime Database のURLを設定してください\n\n**本来なら.envファイルなどで管理するベきものだがなぜかうまく値を取得できなかったのでこういう形にしています**\n\n### stock_traderを起動する\n\n下記コマンドを実行後、[http://localhost:8080/](http://localhost:8080/) にアクセスしてください\n\n```shell\n$ docker-compose up stock_trader\n```\n\n### runnerを起動する\n\n`npm i hogehoge --save` や `npm run lint` などのコマンドを実行するためのサービスになります\n\n```shell\n$ docker-compose run --rm runner\n```\n\n## その他\n\n### 開発環境を削除する\n\nコンテナ、イメージ、ボリューム、ネットワークをすべて一括で削除します\n\n```shell\n$ docker-compose down --rmi all --volumes\n```\n\n参考記事：[《滅びの呪文》Docker Composeで作ったコンテナ、イメージ、ボリューム、ネットワークを一括完全消去する便利コマンド - Qiita](https://qiita.com/suin/items/19d65e191b96a0079417)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Fstock_trader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodonki1223%2Fstock_trader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Fstock_trader/lists"}