{"id":14955514,"url":"https://github.com/cane-bt/app_for_job_change","last_synced_at":"2026-01-20T21:33:35.117Z","repository":{"id":207724545,"uuid":"262918700","full_name":"cane-bt/app_for_job_change","owner":"cane-bt","description":"転職用のポートフォリオ(仮)","archived":false,"fork":false,"pushed_at":"2023-01-26T04:53:51.000Z","size":32384,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-04-07T09:47:41.793Z","etag":null,"topics":["bootstrap4","docker","docker-compose","jquery","mysql","rails5","rspec"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cane-bt.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}},"created_at":"2020-05-11T02:24:45.000Z","updated_at":"2023-06-02T00:27:09.000Z","dependencies_parsed_at":"2023-11-17T10:05:06.163Z","dependency_job_id":null,"html_url":"https://github.com/cane-bt/app_for_job_change","commit_stats":null,"previous_names":["toshi-ue/app_for_job_change"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cane-bt/app_for_job_change","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fapp_for_job_change","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fapp_for_job_change/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fapp_for_job_change/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fapp_for_job_change/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cane-bt","download_url":"https://codeload.github.com/cane-bt/app_for_job_change/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fapp_for_job_change/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28614612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bootstrap4","docker","docker-compose","jquery","mysql","rails5","rspec"],"created_at":"2024-09-24T13:11:15.710Z","updated_at":"2026-01-20T21:33:35.101Z","avatar_url":"https://github.com/cane-bt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n# README\n\n## 初期動作環境構築\n\ngit clone後に下記コマンドを実行すれば動作確認できると思います。\u003cbr /\u003e\n\nyarn・jQueryなどのfrontendはほぼ初心者ですのでコマンドの抜け等がありましたら申し訳ありません。\u003cbr\u003e\n\n```bash\ndocker-compose build;\ndocker-compose run web rails db:create;\ndocker-compose run web rails db:migrate;\n# 初期データ作成(seed_fuを使用)\ndocker-compose run web rails db:seed_fu;\ndocker-compose run web rails db:seed_fu;\ndocker-compose up -d \u0026\u0026 docker attach app_for_job_change_web_1;\n```\n\n```bash\ngit clone ;\ndocker-compose build;\n\ndocker-compose run --rm web bundle install;\ndocker-compose run --rm web bundle update;\ndocker-compose run --rm web bin/yarn install;\ndocker-compose run --rm web rails db:create;\ndocker-compose run --rm web rails db:migrate;\n\n# 既存DBからデータを db/afixtures/ にバックアップ\ndocker-compose run --rm web rails seed_fu_gen:all;\n# 投入用のseedデータを作成\ndocker-compose run --rm web rails seed_fu_all_datas:all;\n# seedデータの main_imageカラムの設定を変更\ndocw rails change_properties_to_adapt_seed_data:all;\n# データをseedする\ndocker-compose run --rm web rails db:seed_fu;\n```\n\n## 問題点\n- 問題点リスト\n  - [0.問題点リスト · Issue #40 · toshi-ue/app_for_job_change](https://github.com/toshi-ue/app_for_job_change/issues/40)\n    - 優先(動作しないため作業を進めることができない)\n\n- 質問リスト\n  - [0.調査リスト · Issue #55 · toshi-ue/app_for_job_change](https://github.com/toshi-ue/app_for_job_change/issues/55)\n\n現状としては以上になります。\nよろしくお願いいたします。\n\nThis README would normally document whatever steps are necessary to get the\napplication up and running.\n\nThings you may want to cover:\n\n* Ruby version\n\n* System dependencies\n\n* Configuration\n\n* Database creation\n\n* Database initialization\n\n* How to run the test suite\n\n* Services (job queues, cache servers, search engines, etc.)\n\n* Deployment instructions\n\n* ...\n\n\n## 参考にしたサイト\n### HTML・CSS\n- カード画像を中央の位置でトリミング\n  - [1行追加でOK！CSSだけで画像をトリミングできる「object-fit」プロパティー | Webクリエイターボックス](https://www.webcreatorbox.com/tech/object-fit)\n\n### 機能\n- 関連レコードのカウントをDBに保存する\n  - \n- 画像スライダー機能\n  - [swiper/API.md at Swiper5 · nolimits4web/swiper](https://github.com/nolimits4web/swiper/blob/Swiper5/API.md)\n  - [レスポンシブ対応でjQuery不要の高機能スライダー「Swiper」 | Will Style Inc.｜神戸にあるウェブ制作会社](https://www.willstyle.co.jp/blog/724/)\n  - [Swiper.jsの使い方「レスポンシブ等の具体例」とオプション解説](https://stand-4u.com/web/javascript/swiper.html#%EF%BC%91%E7%94%BB%E9%9D%A2%E3%81%AB%E8%A4%87%E6%95%B0%E6%9E%9A%E8%A1%A8%E7%A4%BA%E3%81%99%E3%82%8B%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB%E3%82%BF%E3%82%A4%E3%83%97%E3%81%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95)\n  - [Swiperのオプションを一覧でご紹介します | WEBコーダーBLOG](https://coder-memo.com/swiper-option/)\n  - [【Swiper.js】複数のスライダーを同じページに設置する方法｜KaitoTakase｜note](https://note.com/kaito_takase/n/n0c26570be394)\n  - [スライダープラグイン Swiper（v5）の使い方 / Web Design Leaves](https://www.webdesignleaves.com/pr/plugins/swiper_js.html)\n  - [【JavaScript】スライダープラグイン「swiper.js」で同じオプション設定のスライダーを同一ページで複数設置する | 何もないけどヨロシク。](https://nanimonaikedo.jp/markup/1682/)\n  - [【Rails5】「Swiper」を使ってスライダー、カルーセルを作る方法 - Qiita](https://qiita.com/emincoring/items/18d07d0aec5d9836227c)\n- タグ機能\n  - [mbleigh/acts-as-taggable-on: A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.](https://github.com/mbleigh/acts-as-taggable-on)\n  - [erb - How to count the amount of times a tag has been used with ActsAsTaggableOn rails - Stack Overflow](https://stackoverflow.com/questions/38530218/how-to-count-the-amount-of-times-a-tag-has-been-used-with-actsastaggableon-rails)\n- 補完機能\n  - [【JavaScript】Select2でプルダウンをおしゃれにする【ライブラリ】 - Qiita](https://qiita.com/mtanabe/items/c324a2d4a8de8d1595e4)\n\nポートフォリオの内容\n\nポートフォリオを作った経緯\n\n機能を画面共有しながら紹介する\n\n\n苦労した点\n技術的な側面\n\nサービス的な側面\n\n現在の問題点\n--\u003e\n\n\n## サービス概要\n\n食材のフードロスを減らすことを目的としたレシピサイトサービス\n\n## サイトURL\n[サービス名未定？](https://nowastefood.tk/about)\n\n## ターゲット層\n\n料理をする方\n- 主婦\n- 一人暮らし、単身赴任中\n\n## ユーザーが抱える問題\n\n昨今のコロナの影響により、外食を控えて自宅で食べることが多くなりました。\u003cbr\u003e\n\u003c!-- 料理をする際にはまず自宅にある食材を消費することを前提に考えますが、 --\u003e\n自炊・料理をされている方には問題があります。\n- 自宅の食材の消費期限はいつなのかを把握しておかなければいけない\n- 消費期限間近の食材からメニューを探すのに時間がかかる\n\n## 解決方法\n考えられる解決方法は以下になります\n\n- 食材を登録すれば消費期限が確認できるようにする\n- 登録されている食材をもとにレシピを自動抽出してくれるようにすること\n\n## 機能\nユーザー側\n- ゲストユーザーログイン機能\n- ユーザー情報の修正機能\n    - ニックネーム\n    - プロフィール画像\n    - デフォルトの料理提供人数の設定\n- レシピの検索機能\n- お気に入り機能\n- レシピ登録機能\n- 食材(全ユーザー共通)の追加機能\n- 家にある食材の登録機能\n- 当日のメニュー登録機能\n    - ※ エコ機能ボタンを使用したレシピ自動抽出機能\n    - 人数を指定できるようにしてあります\n- 食材の消費期限による色表示の切り替え\n\n\n管理者側(更新・削除機能は後々自分のみ使えるように修正する予定)\n- ゲスト管理者ログイン機能\n- 各モデルのCRUD\n- 各モデルの一覧画面での各項目によるソート機能\n\n\n## 反省点\n- Foodcategoryモデルは必要なかった\n## 現状の問題点\n\n### 技術的側面\n- お問い合わせ機能の実装ができていない\n    - userとの紐付けができていない\n    - 本番環境では動作しない\n\n- 404, 500エラーが発生した時にNginxの404、500ページが表示される(Railsの`public`配下の404,500ページが参照されない)\n- associationがうまくいっていない(うまく関連づけできない)\n    \u003c!-- - Favoriteもでるに対する --\u003e\n    - gem `rails-erd` を導入して pdf を発行する際に以下のログが表示される\n        - (`Warning: Ignoring invalid association :todaysmenu_cuisines on User (Could not find the source association(s) \"todaysmenu_cuisine\" or :todaysmenu_cuisines in model Todaysmenu. Try 'has_many :todaysmenu_cuisines, :through =\u003e :todaysmenus, :source =\u003e \u003cname\u003e'. Is it one of cuisine or user?)`)\n        - (`Warning: Ignoring invalid association :cuisines on Rawmaterial (Cannot have a has_many :through association 'Rawmaterial#cuisines' which goes through 'Rawmaterial#foodstuffs' before the through association is defined.)`)\n\n## 使用技術\n### バックエンド\n- Ruby(2.7.3), Ruby on Rails(6.0.4.1)\n- RSpec(5.0.2)\n\n### フロントエンド\n\n- HTML\n- SCSS\n- JavaScript(jQuery)\n- BootStrap4\n\n\n### インフラストラクチャー\n\n- AWS\n    - ACM\n    - ALB(SSL化するために使用)\n    - Certificate Manager\n    - EC2(Amazon Linux2(t2.micro))\n    - RDS\n        - MySQL: 5.7\n    - Route53\n    - S3\n- Nginx\n- Docker, docker-compose\n## ER図\n![10_46_25](https://user-images.githubusercontent.com/46378023/138380342-abc2fb89-fd3c-4068-b4de-3dcdf42dad0b.jpg)\n\n## インフラ図\n![infra](https://user-images.githubusercontent.com/46378023/138411974-f3179342-f183-4e47-90b4-47c2f92fe892.png)\n\u003c!--\n参考URL\n\n[無料！かつ最短？で Ruby on Rails on Docker on AWS のアプリを公開するぞ。 - Qiita](https://qiita.com/at-946/items/1e8acea19cc0b9f31b98#5-1-acm%E3%81%A7ssl%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%92%E7%99%BA%E8%A1%8C%E3%81%99%E3%82%8B)\n[ryota1116/zero_calorie: 全ての食べ物を0kcalにするカロリー管理アプリ](https://github.com/ryota1116/zero_calorie)\n[30代未経験からRails, AWS, Docker, CircleCIを使って減量アプリを作りました - Qiita](https://qiita.com/naota7118/items/d641eae70dd65412a00b)\n[Rails+PostgreSQL+Docker+AWSで作成したポートフォリオの概要 - いわりょのBlog](https://ryo10leo.hatenablog.com/entry/2020/02/02/204150)\n[daichi5/kotonoha: Rails+Docker+AWS](https://github.com/daichi5/kotonoha)\n[開発環境インフラを ECS 移行している話 - Akatsuki Hackers Lab | 株式会社アカツキ（Akatsuki Inc.)](https://hackerslab.aktsk.jp/migrating-infrastructure-to-ecs)\n[【個人開発】性格診断でお酒と出会う新サービス、「さけぐらむ🍶」リリースしました！🎉🎉 - Qiita](https://qiita.com/watsumi_/items/cd77a0f2ec3630d550f8)\n[naka-no-mura/best_gifter](https://github.com/naka-no-mura/best_gifter)\n[kazu-2020/arrangy](https://github.com/kazu-2020/arrangy)\n--\u003e\n\n## 今後やっていきたいこと\n\n- webpackerを使用してvueを導入する\n- エラーの撲滅\n- メール送受信をSendGridを使用して動作させる\n- contactにuserを紐づける\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcane-bt%2Fapp_for_job_change","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcane-bt%2Fapp_for_job_change","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcane-bt%2Fapp_for_job_change/lists"}