{"id":25837397,"url":"https://github.com/dinbtechit/todo-foci","last_synced_at":"2026-06-08T02:32:59.169Z","repository":{"id":279685781,"uuid":"939617814","full_name":"dinbtechit/todo-foci","owner":"dinbtechit","description":"Foci (Todo-Multi-user)","archived":false,"fork":false,"pushed_at":"2025-03-11T19:10:25.000Z","size":704,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T10:53:14.191Z","etag":null,"topics":["showcase"],"latest_commit_sha":null,"homepage":"https://todo.dsite.ca","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/dinbtechit.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":"2025-02-26T20:38:45.000Z","updated_at":"2025-03-11T19:10:29.000Z","dependencies_parsed_at":"2025-02-26T21:39:38.202Z","dependency_job_id":null,"html_url":"https://github.com/dinbtechit/todo-foci","commit_stats":null,"previous_names":["dinbtechit/todo-foci"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dinbtechit/todo-foci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Ftodo-foci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Ftodo-foci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Ftodo-foci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Ftodo-foci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinbtechit","download_url":"https://codeload.github.com/dinbtechit/todo-foci/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinbtechit%2Ftodo-foci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34046003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["showcase"],"created_at":"2025-03-01T02:48:39.059Z","updated_at":"2026-06-08T02:32:59.163Z","avatar_url":"https://github.com/dinbtechit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Foci To-Do app (Multi User)\n\nCheckout the live app here -\u003e https://todo.dsite.ca\n\n\u003e [!IMPORTANT]  \n\u003e The site is hosted on my on-prem ARM 64 pi server. So might not be always up. Reachout to me if you want to check it out.\n\n\n|                                 |                                     |                                   |\n|---------------------------------|-------------------------------------|-----------------------------------|\n| ![img.png](docs/login.png)      | ![img.png](docs/list-todo.png)      | ![img.png](docs/filter-light.png) |\n| ![img.png](docs/login-dark.png) | ![img.png](docs/list-todo-dark.png) | ![img.png](docs/filter-dark.png)  |\n\n# Requirements\n\n- [X] Programming TypeScript (![](https://api.iconify.design/devicon/react.svg)\n  React + ![](https://api.iconify.design/devicon/nextjs.svg)\n  NextJS + ![](https://api.iconify.design/devicon/postgresql.svg) PostgresSQL)\n- [X] Interface - Web\n- [X] Each to-do item must include the following Fields\n    -  [X] Title\n    -  [x] Description\n    -  [X] Due Date\n- [X] Functional\n    - [X] Create, Read, Update, Delete, Add the ability to mark complete.\n    - [X] Optional - Sorting todo items by due date or title\n    - [X] Optional - Filtering Options  (e.g., show only complete, or in-progress items).\n    - [X] Additional\n        - [X] Add the ability to mark undo complete.\n        - [X] Grouping TODO by dueDate and sorting the group\n        - [X] Dark and Light Mode\n        - [X] Multi user support\n        - [X] Advance Search functionality\n- [X] Deployment - Docker-Compose - To spin it up locally and test it out.\n\n# Running Locally\n\n\u003e Please note the Following instructions are for a linux distro.\n\u003e Instructions on other operating system might vary.\n\n### Prerequisites:\n\nRequires following to be installed on the machine.\n\n1. git (latest)\n2. docker - version 20.10.16 or higher\n3. docker-compose - version 1.29.2 or higher\n\n### Step-by-step instruction\n\n1. git clone repo\n\n```bash\ngit clone https://github.com/dinbtechit/todo-foci.git\n```\n\n2. cd into the cloned repo\n\n```bash\ncd todo-foci\n```\n\n4. Build Images and bring up the application.\n\n```bash\ndocker-compose up -d --build app\n```\n\n**output:**\n\n```\n[+] Running 3/3\n ✔ app                           Built                                                                                                                                                                                           0.0s \n ✔ Container postgres_container  Running                                                                                                                                                                                         0.0s \n ✔ Container app                 Started       \n```\n\n5. Open browser\n\n\u003e **Note:** website is accessible only on localhost.\n\n```\nhttp://localhost:3000\n```\n\n6. Browser\n\n![img.png](docs/running-app.png)\n\n7. To remove and clean all images\n\n```bash\ndocker-compose down -v --remove-orphans --rmi all\n```\n\n# Development\n\n## Getting Started\n\n1. npm install\n\n```sh\nnpm install\n```\n\n2. run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\n# Note for Future Improvements\n\n### Performance:\n\n1. Database indexing for full text search\n2. Event Driven approach to keep all tabs in Sync\n3. Limit the number of API calls - merge states on client-side. Right now, each CRUD operation performs 2 API calls (one\n   for the operation\n   and other one to load the todo list).\n4. Impl `useOptimistic(...)` to improve the loading time.\n\n### Maintainability:\n\n1. Add Unit and E2E Tests\n2. Refactoring to improve DRY and readability\n\n### Error Handling\n\n1. Improve error handling and UI/UX error messages\n\n### Authentication\n\n1. The current authentication is handled via cookies on the server-side, which works well for demo purposes but isn't\n   ideal for production. Implement OAuth and social logins for Authentication.\n\n----\nThank you for the opportunity 🙏\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinbtechit%2Ftodo-foci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinbtechit%2Ftodo-foci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinbtechit%2Ftodo-foci/lists"}