{"id":264,"date":"2025-11-04T00:47:43","date_gmt":"2025-11-03T17:47:43","guid":{"rendered":"https:\/\/bruceng.com\/?p=264"},"modified":"2025-11-04T00:53:33","modified_gmt":"2025-11-03T17:53:33","slug":"dev-log-dotnetgtd-rewriting-the-my-task-management-app","status":"publish","type":"post","link":"https:\/\/bruceng.com\/?p=264","title":{"rendered":"[Dev log &#8211; DotnetGTD] Rewriting my task management app"},"content":{"rendered":"\n<p>I toyed with this idea for a while, my old task management app that I wrote in a few days had some limitations<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It sends the whole database in JSON format every time something is changed.<\/li>\n\n\n\n<li>The whole database is stored in memory of the browser, all the time.<\/li>\n\n\n\n<li>There was no automated tests, and implementing new features was very difficult and easy to break things.<\/li>\n\n\n\n<li>As a bonus, it is difficult to write tests for the app, since it was not designed to be testable from the start.<\/li>\n<\/ul>\n\n\n\n<p>Because of those design decisions, there are a lot of consequences.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It&#8217;s hard to write tests to prevent regression.<\/li>\n\n\n\n<li>That leads to it being hard to add new features or fix existing bugs without breaking something.<\/li>\n\n\n\n<li>The whole database being stored in memory and sent to server every time something changes does not scale well with <strong>many<\/strong> tasks and projects (like 100s of thousands).<\/li>\n<\/ul>\n\n\n\n<p>So I finally decided to rewrite the whole app using<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Vite React for frontend.<\/li>\n\n\n\n<li>Tailwind CSS for UI and UX development.<\/li>\n\n\n\n<li>Vitest for frontend unit tests.<\/li>\n\n\n\n<li>ASP.NET for REST WebAPI backend.<\/li>\n\n\n\n<li>Entity Framework Core for Database ORM.<\/li>\n\n\n\n<li>Azure SQL Server for database.<\/li>\n\n\n\n<li>xUnit framework for backend unit tests.<\/li>\n\n\n\n<li>Github Actions for CI\/CD pipelines.<\/li>\n\n\n\n<li>Docker for deployment.<\/li>\n\n\n\n<li>Personal home server for hosting.<\/li>\n\n\n\n<li>Cloudflare tunnels to give access over the Internet.<\/li>\n<\/ul>\n\n\n\n<p>The project has been worked on for 5 months since June, it&#8217;s fully Test Driven Development and make use of the knowledge and experiences I have acquired from work and books.<\/p>\n\n\n\n<p>This is actually the <strong>third<\/strong> time I have written a task management project, the first version was written back in 2018 and no longer compiles (you can read about it <a href=\"https:\/\/bruceng.com\/?p=47\" data-type=\"link\" data-id=\"https:\/\/bruceng.com\/?p=47\">here<\/a>). <\/p>\n\n\n\n<p>The second version was written 2 years ago in 2023 and had all those limitations (there is a blog post <a href=\"https:\/\/bruceng.com\/?p=198\" data-type=\"link\" data-id=\"https:\/\/bruceng.com\/?p=198\">here<\/a>)<\/p>\n\n\n\n<p>I decided that this version would be the last, as it is built as well as possible for easy maintenance and feature implementation. My experience in the past 5 months has been great. Finally the project is ready to use and I have migrated all my data from my previous task manager to the new one.<\/p>\n\n\n\n<p>From this<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"350\" src=\"https:\/\/bruceng.com\/wp-content\/uploads\/2025\/11\/image.png\" alt=\"\" class=\"wp-image-268\" srcset=\"https:\/\/bruceng.com\/wp-content\/uploads\/2025\/11\/image.png 768w, https:\/\/bruceng.com\/wp-content\/uploads\/2025\/11\/image-300x137.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>To this<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"415\" src=\"https:\/\/bruceng.com\/wp-content\/uploads\/2025\/11\/image-1.png\" alt=\"\" class=\"wp-image-269\" srcset=\"https:\/\/bruceng.com\/wp-content\/uploads\/2025\/11\/image-1.png 984w, https:\/\/bruceng.com\/wp-content\/uploads\/2025\/11\/image-1-300x127.png 300w, https:\/\/bruceng.com\/wp-content\/uploads\/2025\/11\/image-1-768x324.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p>Yes, I use it to manage development of itself.<\/p>\n\n\n\n<p>So far it is missing some small features from the previous version, but the main big features are there and ready to use to make me productive. I will add back some of the quality-of-life features back over time.<\/p>\n\n\n\n<p>Rewriting the app is also a very good chance to apply all the knowledge I have learned from work and books, to add it to my portfolio and at the same time add value to both my professional and personal life.<\/p>\n\n\n\n<p>I have found that it&#8217;s much more productive to focus on one project at a time to get one done and move on to the next, rather than trying to do a few projects at the same time and make tiny progress at each one. Now that I&#8217;m done with this, I may move on to the next project, it might be another full-stack application, a mobile app, or another video game project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I toyed with this idea for a while, my old task management app that I wrote in a few days had some limitations Because of those design decisions, there are a lot of consequences. So I finally decided to rewrite the whole app using The project has been worked on for 5 months since June, &hellip; <a href=\"https:\/\/bruceng.com\/?p=264\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">[Dev log &#8211; DotnetGTD] Rewriting my task management app<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[11,7,9],"class_list":["post-264","post","type-post","status-publish","format-standard","hentry","category-devlog","tag-dotnetgtd","tag-gtd","tag-tdd"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/index.php?rest_route=\/wp\/v2\/posts\/264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=264"}],"version-history":[{"count":9,"href":"https:\/\/bruceng.com\/index.php?rest_route=\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/bruceng.com\/index.php?rest_route=\/wp\/v2\/posts\/264\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}