The amount of time I’ve spent on this project is embarrassing. I couldn’t imagine how complicated working with an actual DBMS is until I tried, and omfg, it’s the most painful shit ever. So far, all I have done is get the back-end to work with the front-end of the application, as well as the ability to add new tasks to the database and update their status. I also managed to add a saving system, if I may call it that, where I can save all the tasks to one file and also load it up whenever the app gets launched.

However, all of this is still so useless so far. When I launch the app, the server gets the data from the previously saved file just fine. The problem is with linking surrealdb with the front-end. To do that, I had to add a new function to the library I wrote to select all tasks from the database and then send them to the actual Rust back-end as a Vec(String, bool). The function is working just fine, but when I try to use it from the back-end, I get so many errors about the type of the return value and too much crap for my single cell to handle. I just can’t wait for all this to be over with. It’s so painful.

Seth