{"id":45402897,"url":"https://github.com/ottenwbe/recipes-manager","last_synced_at":"2026-02-21T20:20:01.134Z","repository":{"id":39679368,"uuid":"272053322","full_name":"ottenwbe/recipes-manager","owner":"ottenwbe","description":"Backend to manipulate recipies","archived":false,"fork":false,"pushed_at":"2024-04-19T13:23:49.000Z","size":25789,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T09:53:05.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/ottenwbe.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":"2020-06-13T17:16:36.000Z","updated_at":"2021-12-20T10:47:17.000Z","dependencies_parsed_at":"2024-03-16T16:25:43.747Z","dependency_job_id":"112188ce-97d6-4455-939d-e32e1f82c175","html_url":"https://github.com/ottenwbe/recipes-manager","commit_stats":{"total_commits":32,"total_committers":3,"mean_commits":"10.666666666666666","dds":0.09375,"last_synced_commit":"bde237253b1b1bbbd6f4d8d32fdfa1f36f7b4d30"},"previous_names":["ottenwbe/go-cook"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/ottenwbe/recipes-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottenwbe%2Frecipes-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottenwbe%2Frecipes-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottenwbe%2Frecipes-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottenwbe%2Frecipes-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ottenwbe","download_url":"https://codeload.github.com/ottenwbe/recipes-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottenwbe%2Frecipes-manager/sbom","scorecard":{"id":714476,"data":{"date":"2025-08-11","repo":{"name":"github.com/ottenwbe/recipes-manager","commit":"bde237253b1b1bbbd6f4d8d32fdfa1f36f7b4d30"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/ottenwbe/recipes-manager/release.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:4","Warn: containerImage not pinned by hash: Dockerfile:13: pin your Docker image by updating docker.io/ubuntu:latest to docker.io/ubuntu:latest@sha256:7c06e91f61fa88c08cc74f7e1b7c69ae24910d745357e0dfe1d2c0322aaf20f9","Warn: goCommand not pinned by hash: .github/workflows/go.yml:29","Warn: goCommand not pinned by hash: .github/workflows/go.yml:30","Warn: goCommand not pinned by hash: .github/workflows/go.yml:31","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   3 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3485 / GHSA-c6gw-w398-hv78","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T09:09:36.338Z","repository_id":39679368,"created_at":"2025-08-22T09:09:36.338Z","updated_at":"2025-08-22T09:09:36.338Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29692205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"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-02-21T20:20:00.486Z","updated_at":"2026-02-21T20:20:01.127Z","avatar_url":"https://github.com/ottenwbe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":" # recipes-manager\n\n[![CI](https://github.com/ottenwbe/recipes-manager/actions/workflows/go.yml/badge.svg)](https://github.com/ottenwbe/recipes-manager/actions/workflows/go.yml)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ottenwbe/recipes-manager/blob/master/LICENSE)\n[![Known Vulnerabilities](https://snyk.io/test/github/ottenwbe/recipes-manager/badge.svg)](https://snyk.io/test/github/ottenwbe/recipes-manager)\n\nBackend service to manage recipes. \nRecipes-manager supports managing recipes via API while persisting them in a database.\n\n## Related projects\n\n| Tool         |URL|\n|--------------|---|\n| Web Frontend |  https://github.com/ottenwbe/recipes-manager-ui |\n| Recommender  |  https://github.com/ottenwbe/recipes-manager-recommender |\n| Deployment   |  https://github.com/ottenwbe/recipes-manager-deployment |\n\n## How to Use?\n\n### Deployment\n\nWe briefly describe two deployment options. First, a Kubernetes-based deployment, including the deployment of all other cooking-related tools. Secondly, a stand-alone deployment:\n\n1. See https://github.com/ottenwbe/recipes-manager-deployment for how to run the whole suite of micro-services on a Kubernetes cluster, including the frontend and a database.\n\n2. To run recipes-manager as standalone service (either amd64 or arm64): \n\n    1. Prepare a configuration file (see next section).\n    1. Start a database\n\n            docker run -d --name=db-recipes-manager -p 27018:27017 mongo:6\n\n    1. Run the container\n        \n            docker run -p 8080:8080 --name=backend-recipes-manager -v \u003clocal-config\u003e:/etc/recipes-manager/recipes-manager-config.yml ottenwbe/recipes-manager:v0.3.0\n    \n    1. Check if everything is running:\n\n            curl localhost:8080/api/v1/recipes\n\n    1. Details about the API can then be checked in a browser:\n\n            localhost:8080/swagger/swagger_index.html            \n\n### File-based Configuration \n\nConfiguration files are expected at ```~/.recipes-manager/recipes-manager-config.yml``` or ```/etc/recipes-manager/recipes-manager-config.yml```.\n\n```yaml\n# Mandatory Configuration\nrecipeDB:\n  host: \u003cdb host\u003e\n\n# Optional Configuration\nhtml:\n  address: \u003cserver listens on this address\u003e\n  cors:\n    origin: \u003cAccess-Control-Allow-Origin\u003e\n\ndrive: # To fetch recipes from Goolge Drive\n  connection:\n    secret:\n      file: \u003clocation of secret\u003e\n  recipes:\n    folder: \u003cfolder name in drive\u003e\n    ingredients: \u003cname of ingredients section in the drive files\u003e\n    instructions: \u003cname of the instructions section in the drive files\u003e\n\nkeycloak:\n  address: \u003caddress of keycloak sever\u003e\n  clientSecret: \u003cclient secret\u003e\n  clientID: \u003cclient id\u003e\n  host: \u003chost name\u003e\n  enabled: \u003cenable or disable keycloak feature\u003e\n\nlog:\n  level: \u003clog level\u003e\n    \nsource:\n  host: \u003csource host, i.e., aka host of ui\u003e\n```\n\n#### Configuration with Environment Variables\n\nBy prepending all variables (see file-based configuration) with ```GO_COOK_``` the configuration can be set in the environment.\n\n## Development \n\n### Dependencies\n\n* Go \u003e= 1.19\n  \n* For testing install ``ginkgo``\n    ```\n    go install github.com/onsi/ginkgo/v2/ginkgo\n    go get github.com/onsi/gomega/...\n    ```\n\n## Building recipes-manager\n\nA Makefile supports the build process. This includes building a development and release version of the recipes-manager service. Furthermore, it includes building docker images to easily deploy the recipes-manager service.\n\n### Build Snapshot\n\n```\nmake snapshot \n```\n\nBuilds a fully functioning binary named ```recipes-manager-snapshot```. In contrast to the release version, there is still debugging informaiton included.\n\n### Build Release Version\n\n```\nmake release\n```\n\nBuilds a fully functioning binary named ```recipes-manager```. \n\n### Docker builds\n\n```\nmake docker\n```\n\n### Docker Tips and Tricks\n\n* If necessary, stop all container; i.e., if they hang\n    ```    \n    docker stop $(docker ps -a -q)\n    ```    \n\n* Remove all container and their volumes\n    ```    \n    docker rm -v $(docker ps -a -q)      \n    ``` \n\n## API Documentation\n\n ### Generate the Documentation \n \nThe Swagger API documentation is based on [gin-swagger](https://github.com/swaggo/gin-swagger):\n \n    swag init --exclude vendor\n \n ### Disclaimer\n \n I created this project for the purpose of educating myself and personal use.\n If you are interested in the outcome, feel free to contribute; this work is published under the MIT license. \n \n### Notice\nThe base MAKEFILE is adapted from: https://github.com/vincentbernat/hellogopher ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fottenwbe%2Frecipes-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fottenwbe%2Frecipes-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fottenwbe%2Frecipes-manager/lists"}