{"id":15727269,"url":"https://github.com/elidrissidev/todo-app","last_synced_at":"2026-04-10T06:51:10.380Z","repository":{"id":133023386,"uuid":"469491164","full_name":"elidrissidev/todo-app","owner":"elidrissidev","description":"This is a solution to the Todo app challenge on Frontend Mentor.","archived":false,"fork":false,"pushed_at":"2022-03-27T16:12:24.000Z","size":2119,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T07:13:47.434Z","etag":null,"topics":["css","frontendmentor","html","javascript","react-query","reactjs","supabase","testing-library-react","typescript"],"latest_commit_sha":null,"homepage":"https://todo-app-elidrissidev.vercel.app","language":"TypeScript","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/elidrissidev.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":"2022-03-13T20:48:23.000Z","updated_at":"2022-12-23T09:15:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"720470d3-8cc5-4d34-bfa3-1c7f647936b4","html_url":"https://github.com/elidrissidev/todo-app","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/elidrissidev%2Ftodo-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Ftodo-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Ftodo-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Ftodo-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elidrissidev","download_url":"https://codeload.github.com/elidrissidev/todo-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403902,"owners_count":20771527,"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":["css","frontendmentor","html","javascript","react-query","reactjs","supabase","testing-library-react","typescript"],"created_at":"2024-10-03T23:00:33.278Z","updated_at":"2025-10-06T03:45:19.172Z","avatar_url":"https://github.com/elidrissidev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Todo app solution\n\nThis is a solution to the [Todo app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/todo-app-Su1_KokOW). Frontend Mentor challenges help you improve your coding skills by building realistic projects. \n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n- [Author](#author)\n- [Acknowledgments](#acknowledgments)\n- [License](#license)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- View the optimal layout for the app depending on their device's screen size\n- See hover states for all interactive elements on the page\n- Add new todos to the list\n- Mark todos as complete\n- Delete todos from the list\n- Filter by all/active/complete todos\n- Clear all completed todos\n- Toggle light and dark mode\n- **Bonus**: Drag and drop to reorder items on the list\n\n### Screenshot\n\n| Mobile (375px) | Desktop (1440px) |\n| --- | --- |\n| ![Mobile screenshot](./screenshot-mobile.png) | ![Desktop screenshot](./screenshot-desktop.png) |\n\n### Links\n\n- [Solution URL](https://www.frontendmentor.io/solutions/fullstack-todo-app-using-react-and-supabase-rJDd0gpMc)\n- [Live Site URL](https://todo-app-elidrissidev.vercel.com)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- Mobile-first workflow\n- [React](https://reactjs.org/) - JS library\n- [React Query](https://react-query.tanstack.com/) - For server-side state fetching and caching.\n- [React Beautiful Dnd](https://github.com/atlassian/react-beautiful-dnd/) - For drag \u0026 drop functionality.\n- [Supabase](https://supabase.com/) - For backend\n\n### What I learned\n\nThis was a pretty challenging challenge! I learned how to separate fetching logic to a custom hook (`useTodos`), I also got to use Supabase for the first time which I found to be very interesting, I really like how it gives you access to the full Postgres database without limitations!\n\nAnother thing I struggled with at first is the drag and drop ordering of the todo items, which I almost gave on after trying with `react-dnd`. Luckily, the Slack community didn't fail to provide help! I was recommended to switch to `react-beautiful-dnd` which I found to be very easy to use, oh and I also like the animation when dragging an item!\n\n## Author\n\n- Website - [Mohamed ELIDRISSI](https://www.elidrissi.dev)\n- Frontend Mentor - [@elidrissidev](https://www.frontendmentor.io/profile/elidrissidev)\n- Twitter - [@elidrissidev](https://www.twitter.com/elidrissidev)\n\n## Acknowledgments\n\nThanks to \\@MikeMT from the Slack community for his time, and to \\@Chamu for recommending to switch to `react-beautiful-dnd` for the drag \u0026 drop functionality.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felidrissidev%2Ftodo-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felidrissidev%2Ftodo-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felidrissidev%2Ftodo-app/lists"}