{"id":23408842,"url":"https://github.com/luismda/daily-diet","last_synced_at":"2026-04-17T07:31:49.577Z","repository":{"id":181637778,"uuid":"667058353","full_name":"luismda/daily-diet","owner":"luismda","description":"This project is a meal register to diet management app with metrics of diet progress.","archived":false,"fork":false,"pushed_at":"2023-07-16T17:47:08.000Z","size":577,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T01:36:13.338Z","etag":null,"topics":["async-storage","expo","nativewind","react-hook-form","react-native","react-navigation","typescript","zod"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/luismda.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-07-16T14:01:04.000Z","updated_at":"2023-09-15T21:01:07.000Z","dependencies_parsed_at":"2023-07-16T21:33:02.199Z","dependency_job_id":null,"html_url":"https://github.com/luismda/daily-diet","commit_stats":null,"previous_names":["luismda/daily-diet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luismda/daily-diet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismda%2Fdaily-diet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismda%2Fdaily-diet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismda%2Fdaily-diet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismda%2Fdaily-diet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luismda","download_url":"https://codeload.github.com/luismda/daily-diet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luismda%2Fdaily-diet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31919908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["async-storage","expo","nativewind","react-hook-form","react-native","react-navigation","typescript","zod"],"created_at":"2024-12-22T15:17:39.709Z","updated_at":"2026-04-17T07:31:49.558Z","avatar_url":"https://github.com/luismda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Daily Diet 🍽️😋\n\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/2255380c-855a-47a3-a306-3b36aea86697\" alt=\"\" /\u003e\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/0945044b-8133-4e31-9430-be28e17f5553\" alt=\"\" /\u003e\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/bdb66eda-c5fc-49fd-8a7d-607fc8994130\" alt=\"\" /\u003e\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/4aaaed73-2175-4bad-ab37-c17e60e31d04\" alt=\"\" /\u003e\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/ed4141db-49e0-4795-8b1b-caa2887b5f63\" alt=\"\" /\u003e\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/e042bd15-3464-4397-8ea9-9392d7e5f2e1\" alt=\"\" /\u003e\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/f6663614-eb86-40de-9d8c-397444e9edf2\" alt=\"\" /\u003e\n\u003cimg width=\"180\" src=\"https://github.com/luismda/daily-diet/assets/88680118/25a55f8d-7831-45ea-ba45-ddedefb51a68\" alt=\"\" /\u003e\n\n---\n\n## About\n\nDaily Diet is a mobile application to control your diet. In it you can register your meals and follow your progress.\n\nWith this application, you can register a new meal at a specific date and time, informing whether or not it is in your diet. It is also possible to view the details of each meal, as well as edit and delete your already registered meals. In addition, the application provides you with a follow-up of your diet, providing feedback through some statistics and metrics based on the meals already registered, such as the best sequence of meals within the diet, percentage of meals in the diet, among other information.\n\nThe project was developed using these technologies:\n\n- TypeScript\n- React Native\n- Expo Managed Workflow\n- NativeWind (*library to use TailwindCSS in React Native*)\n- React Navigation (*stack navigation*)\n- Async Storage (*used to local storage of meals*)\n- React Hook Form\n- Zod\n\nFinally, this project was a challenge developed in the React Native training in [**Rocketseat**](https://github.com/rocketseat-education) **Ignite** course. The main purpose of this app was to practice **styling, navigation and local storage**, as well as some **React Hooks and techniques, and good coding practices**.\n\n[**Access the project layout in Figma**](https://www.figma.com/community/file/1218573349379609244)\n\n## Instructions\n\n- Requirements:\n  - [Node.js LTS](https://nodejs.org/en)\n\n1. Clone the repository:\n\n```sh\ngit clone https://github.com/luismda/daily-diet.git\n```\n\n2. Install the dependencies:\n\n```sh\nnpm i\n```\n\n3. Run app:\n\n```sh\nnpm start\n```\n\n4. To preview the app, you can use Expo Go on your physical device or use an Android or iPhone emulator on your computer. See some more details in the [**React Native**](https://reactnative.dev/docs/environment-setup?guide=quickstart) and [**Expo**](https://docs.expo.dev/get-started/expo-go/) documentation.\n\n## Get started\n\nA good starting point to get to know the project better is to look at the code, so you can start with the `screens` folder, where all the project's screens are located. In the `routes` folder, you will also find all the routes defined in the app.\n\nAll components were created inside the `components` folder. You will notice that some of them have more than one file for the same component. This happens because of the **Composition Pattern**, which was used in some cases.\n\nFinally, in the `storage` folder you will find the functions that handle **Async Storage** and handle local read and write operations. It is important to highlight that the key used to store the meals is defined in the constants folder.\n\n## Created by\n\nLuís Miguel | [**LinkedIn**](https://www.linkedin.com/in/luis-miguel-dutra-alves/)\n\n##\n\n**#NeverStopLearning 🚀**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluismda%2Fdaily-diet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluismda%2Fdaily-diet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluismda%2Fdaily-diet/lists"}