{"id":48102153,"url":"https://github.com/ibalosh/recipe-finder-backend","last_synced_at":"2026-04-04T15:45:08.737Z","repository":{"id":338784313,"uuid":"993320163","full_name":"ibalosh/recipe-finder-backend","owner":"ibalosh","description":"Backend-driven playground recipe search system built in Rails with a React client, focused on ranking and domain logic","archived":false,"fork":false,"pushed_at":"2026-02-16T12:42:28.000Z","size":1179,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-16T20:07:26.897Z","etag":null,"topics":[],"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/ibalosh.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-30T15:30:21.000Z","updated_at":"2026-02-16T12:40:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ibalosh/recipe-finder-backend","commit_stats":null,"previous_names":["ibalosh/recipe-finder-backend"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ibalosh/recipe-finder-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalosh%2Frecipe-finder-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalosh%2Frecipe-finder-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalosh%2Frecipe-finder-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalosh%2Frecipe-finder-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibalosh","download_url":"https://codeload.github.com/ibalosh/recipe-finder-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalosh%2Frecipe-finder-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31403961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":[],"created_at":"2026-04-04T15:45:08.195Z","updated_at":"2026-04-04T15:45:08.722Z","avatar_url":"https://github.com/ibalosh.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🥘 Recipe Finder - Backend - API\n\nTask on hand: It's dinner time! Create an application that helps users find the most relevant recipes that they can prepare with the ingredients that they have at home.\n\n---\n\nA fast and lightweight Rails API for searching recipes by ingredients you already have at home.\n\n[![Test Status](https://github.com/ibalosh/recipe_time/actions/workflows/ci.yml/badge.svg)](https://github.com/ibalosh/recipe_time/actions)\n\n🌐 **Live frontend demo**: [recipe-finder](https://recipe-finder.playground.ibalosh.com/)\n\n💻 **Frontend repo**: [github.com/ibalosh/recipe_time_frontend](https://github.com/ibalosh/recipe_time_frontend)\n\n---\n\n## 💡 Project Overview\n\nThis application allows users to search recipes by one or more ingredients (e.g. `eggs mushrooms`) and get back recipes that contain the most relevant matches. The API ranks results by how many of the searched ingredients match, relative to each recipe’s total ingredients.\n \nSearching for `flour water oil` will prefer recipes that contain all ingredients compared to total number ingredients in the recipe.\n\n#### Example: searching for `[\"water\", \"oil\", \"flour\"]`\n\n| Recipe                         | Total Ingredients | Matched Ingredients | Relevance (%) |\n|--------------------------------|-------------------|---------------------|---------------|\n| Gluten-Free Sourdough Starter  | 3                 | 3                   | 100.00        |\n| Fried Flour Tortilla Chips     | 2                 | 2                   | 100.00        |\n| Chapati (East African Bread)   | 6                 | 5                   |  83.33        |\n\n---\n\n## 🧠 Database Structure\n\nThe data is imported from a JSON dataset (9,000+ recipes). \nThe database uses a **relational schema** with denormalization in some areas to favor performance, maintainability, and development speed.\n\nFor a deeper look at the schema and the reasoning behind optimizations (indexing, partial normalization), see [docs/DATABASE.md](docs/DATABASE.md).\nAPI endpoints are documented in [docs/API_ENDPOINTS.md](docs/API_ENDPOINTS.md).\n\n---\n\n## 🔐 Backend Improvements\n\n- ✅ **Test coverage** for data models and API endpoints\n- ✅ **Improved seeds**: transforms fields like URLs and enriches records with fields like `short_description` and `instructions` to make the frontend experience more engaging\n- ✅ **Basic authentication**: added simple single token-based protection to prevent public access to the API\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibalosh%2Frecipe-finder-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibalosh%2Frecipe-finder-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibalosh%2Frecipe-finder-backend/lists"}