{"id":15451009,"url":"https://github.com/cane-bt/nowastefood","last_synced_at":"2026-02-27T18:07:00.850Z","repository":{"id":65534715,"uuid":"593491383","full_name":"cane-bt/nowastefood","owner":"cane-bt","description":"nowastefood（食材放置を予防アプリ）","archived":false,"fork":false,"pushed_at":"2024-05-29T04:13:52.000Z","size":33094,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-22T13:44:04.415Z","etag":null,"topics":["bootstrap4","docker","heroku","jquery","rails","webpacker"],"latest_commit_sha":null,"homepage":"https://nowastefood.herokuapp.com/","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/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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-26T05:53:16.000Z","updated_at":"2024-05-29T04:13:56.000Z","dependencies_parsed_at":"2024-09-11T12:34:12.978Z","dependency_job_id":"1ff716f8-44a7-4379-9cc1-7f08f880559f","html_url":"https://github.com/cane-bt/nowastefood","commit_stats":null,"previous_names":["cane-bt/nowastefood"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cane-bt/nowastefood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fnowastefood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fnowastefood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fnowastefood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fnowastefood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cane-bt","download_url":"https://codeload.github.com/cane-bt/nowastefood/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cane-bt%2Fnowastefood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29907362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T17:28:36.873Z","status":"ssl_error","status_checked_at":"2026-02-27T17:28:20.970Z","response_time":57,"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":["bootstrap4","docker","heroku","jquery","rails","webpacker"],"created_at":"2024-10-01T21:21:00.928Z","updated_at":"2026-02-27T18:07:00.833Z","avatar_url":"https://github.com/cane-bt.png","language":"Ruby","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--\u003e\n\n# サービス概要\n\n食材のフードロスを減らすことを目的としたレシピサイトサービスです。\n家の食材を登録して料理したレシピを追加していくことで家に残っている材料が把握でき、食品廃棄を削減することを目的としたサービスです。\n\n\n## サイトリンク\n\n~~[NoWasteFood](https://nowastefood.herokuapp.com/)~~\n\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- Ruby(2.7.7)\n- Ruby on Rails(6.1.7)\n- JavaScript(jQuery)\n- BootStrap4\n- MySQL(5.7)\n- RSpec\n- Docker/Docker-compose\n- CircleCI CI/CD\n- Heroku\n\n## 機能\n\nユーザー側\n\n- ゲストユーザーログイン機能\n- ユーザー情報の修正機能\n    - ニックネーム\n    - プロフィール画像\n    - デフォルトの料理提供人数の設定\n- レシピの検索機能\n- お気に入り機能\n- レシピ登録機能\n- 食材(全ユーザー共通)の追加機能\n- 家にある食材の登録機能\n- 当日のメニュー登録機能\n    - ※ エコ機能ボタンを使用したレシピ自動抽出機能\n    - 人数を指定できるようにしてあります\n- 食材の消費期限による色表示の切り替え\n\n## テスト\n\n- RSpec\n  - 単体テスト(model)\n  - 機能テスト(request)\n\u003c!-- 管理者側(更新・削除機能は後々自分のみ使えるように修正する予定)\n- ゲスト管理者ログイン機能\n- 各モデルのCRUD\n- 各モデルの一覧画面での各項目によるソート機能 --\u003e\n\n\u003c!-- ## 反省点\n- Foodcategoryモデルは必要なかった\n## 現状の問題点\n\n### 技術的側面\n- お問い合わせ機能の実装ができていない\n    - userとの紐付けができていない\n    - 本番環境では動作しない --\u003e\n\n\u003c!-- - 404, 500エラーが発生した時にNginxの404、500ページが表示される(Railsの`public`配下の404,500ページが参照されない)\n- associationがうまくいっていない(うまく関連づけできない) --\u003e\n\n\n\n\u003c!-- ### インフラストラクチャー\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 --\u003e\n## ER図\n\n![10_46_25](https://user-images.githubusercontent.com/46378023/138380342-abc2fb89-fd3c-4068-b4de-3dcdf42dad0b.jpg)\n\n\u003c!-- ## インフラ図\n![infra](https://user-images.githubusercontent.com/46378023/138411974-f3179342-f183-4e47-90b4-47c2f92fe892.png) --\u003e\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\u003c!-- ## 今後やっていきたいこと\n\n- webpackerを使用してvueを導入する\n- エラーの撲滅\n- メール送受信をSendGridを使用して動作させる\n- contactにuserを紐づける --\u003e\n\u003c!-- \n[未経験者が自社開発企業に就職するためのREADME書き方 - Qiita](https://qiita.com/teruis/items/64fcf585f02162fa2f3b)\n[【エンジニア転職】面接官の目にとまるGithubのREADMEの書き方とは？実際のREADMEも公開！ | WEBエンジニアスキルアップブログ](https://notosan.com/jobchange-readme/)\n[READMEはこう書く！僕のポートフォリオ記録 | Kazuyuki blog](https://kazusfhino.com/2021/01/11/howtoreadme/)\n --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcane-bt%2Fnowastefood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcane-bt%2Fnowastefood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcane-bt%2Fnowastefood/lists"}