{"id":13533541,"url":"https://github.com/LeBraveLittleToaster/KnowYourFood","last_synced_at":"2025-04-01T21:32:33.677Z","repository":{"id":99102556,"uuid":"378621047","full_name":"LeBraveLittleToaster/KnowYourFood","owner":"LeBraveLittleToaster","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-01T16:02:41.000Z","size":1403,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-02T20:33:18.690Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/LeBraveLittleToaster.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}},"created_at":"2021-06-20T10:47:53.000Z","updated_at":"2024-10-21T20:25:16.000Z","dependencies_parsed_at":"2023-06-03T20:15:27.164Z","dependency_job_id":null,"html_url":"https://github.com/LeBraveLittleToaster/KnowYourFood","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/LeBraveLittleToaster%2FKnowYourFood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeBraveLittleToaster%2FKnowYourFood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeBraveLittleToaster%2FKnowYourFood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeBraveLittleToaster%2FKnowYourFood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeBraveLittleToaster","download_url":"https://codeload.github.com/LeBraveLittleToaster/KnowYourFood/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246713477,"owners_count":20821895,"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":[],"created_at":"2024-08-01T07:01:20.803Z","updated_at":"2025-04-01T21:32:32.698Z","avatar_url":"https://github.com/LeBraveLittleToaster.png","language":"Dart","readme":"# KnowYourFood - build with flutter and appwrite\n\nThe app is a prototype for a restaurant food statement app.\nA user can provide their preference regarding some predefined topics and compare them to the food he/she ordered. A preference can be e.g.: Is it important that the food is from regional farmers (\u003c50km)? (low/mid/high). \u003cbr\u003eTo make that process easy, he/she can scan a QR code, that can be generated by the app (and printed on a menu) by the restaurant.\nThis QR code wraps the foods database ID, which then is requested by the app. The user receives a overview about their preference compared to the restaurants rating. Additionally he can read the, from the restaurant provided, statements.\u003c/br\u003e\n\nIn the folder \"Showroom\", you can find some screenshots from the app.\n\n## Showroom\n\nScreenshots | Screenshots\n :--:|:---:\n Login page | Setting Preferences\n![Login page](https://github.com/LeBraveLittleToaster/KnowYourFood/blob/main/Showroom/Login.jpg) | ![Setting Preferences](https://github.com/LeBraveLittleToaster/KnowYourFood/blob/main/Showroom/Choose_Preference_Openend.jpg)\nCreating food and rate it | List of your food\n![Creating food and rate it](https://github.com/LeBraveLittleToaster/KnowYourFood/blob/main/Showroom/Create_Food_With_Ratings.jpg) | ![List of your food](https://github.com/LeBraveLittleToaster/KnowYourFood/blob/main/Showroom/List_Of_Your_Food.jpg)\nQR code generator | QR code scanner\n![QR code generator](https://github.com/LeBraveLittleToaster/KnowYourFood/blob/main/Showroom/On_Test_Food_Clicked.jpg) | ![QR code scanner](https://github.com/LeBraveLittleToaster/KnowYourFood/blob/main/Showroom/QR_Code_Scanning.jpg)\n\n## Database Settings\n\nUnfortunatly I have no server running, but you can setup your instance with these collections and changing the IP in the MainApp part :) \n\nThese database settings are used in the appwrite instance to run it. Neither functions nor webhooks were used that should be set up.\n\n\u003e Food Collection\n```jsonc\n{\n    \"$id\": \"60cf26aa68cd7\",\n    \"$permissions\": {\n        \"read\": [\n            \"*\"\n        ],\n        \"write\": [\n            \"*\"\n        ]\n    },\n    \"name\": \"Food\",\n    \"dateCreated\": 1624188586,\n    \"dateUpdated\": 1624547082,\n    \"rules\": [\n        {\n            \"$id\": \"60cf26ec930a2\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"foodId\",\n            \"label\": \"Food UUID\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf26ec98598\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"name\",\n            \"label\": \"Food Name\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf26ec9d7f7\",\n            \"$collection\": \"rules\",\n            \"type\": \"wildcard\",\n            \"key\": \"prefs\",\n            \"label\": \"Preference Statements\",\n            \"default\": \"\",\n            \"array\": true,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf3b2b86a40\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"description\",\n            \"label\": \"Description\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf3b2b8c7dc\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"brandName\",\n            \"label\": \"Brand Name\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        }\n    ]\n}\n```\n\u003e Preference Collection\n```jsonc\n{\n    \"$id\": \"60cf38bba8397\",\n    \"$permissions\": {\n        \"read\": [\n            \"*\"\n        ],\n        \"write\": []\n    },\n    \"name\": \"Preferences\",\n    \"dateCreated\": 1624193211,\n    \"dateUpdated\": 1624202772,\n    \"rules\": [\n        {\n            \"$id\": \"60cf38e66b53d\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"name\",\n            \"label\": \"Name\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf38e67138d\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"prefId\",\n            \"label\": \"pref UUID\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf38e677352\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"description\",\n            \"label\": \"Description\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf5e14b3f0a\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"category\",\n            \"label\": \"Category\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        }\n    ]\n}\n```\n\n\u003e PreferenceRating Collection\n```jsonc\n{\n    \"$id\": \"60cf383f29bac\",\n    \"$permissions\": {\n        \"read\": [\n            \"*\"\n        ],\n        \"write\": [\n            \"*\"\n        ]\n    },\n    \"name\": \"PreferenceRatings\",\n    \"dateCreated\": 1624193087,\n    \"dateUpdated\": 1624279822,\n    \"rules\": [\n        {\n            \"$id\": \"60cf388035da5\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"prefId\",\n            \"label\": \"Pref UUID\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf38803c7cf\",\n            \"$collection\": \"rules\",\n            \"type\": \"text\",\n            \"key\": \"userId\",\n            \"label\": \"user UUID\",\n            \"default\": \"\",\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        },\n        {\n            \"$id\": \"60cf388041baf\",\n            \"$collection\": \"rules\",\n            \"type\": \"numeric\",\n            \"key\": \"rating\",\n            \"label\": \"Rating\",\n            \"default\": 0,\n            \"array\": false,\n            \"required\": true,\n            \"list\": []\n        }\n    ]\n}\n```\n","funding_links":[],"categories":["Official Tutorials and Blog Posts"],"sub_categories":["30 Days of Appwrite :sparkles:"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeBraveLittleToaster%2FKnowYourFood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeBraveLittleToaster%2FKnowYourFood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeBraveLittleToaster%2FKnowYourFood/lists"}