Hi everyone I was thinking of creating a backend module that has functione for a note taking app (search, sort, etc). So anyone can implement a ui on top of it.
I have some basic understanding of rust (made a just-working chip-8 emulator). But I’ve never used SQL or other database.
Is this plausible? Is there a similar project that I can use as reference? What are the mistakes I should avoid?
are you asking if someone would use it? probably not. sounds like a lot of work when someone can just use obsidian with plugins to get the ui they wanted
Don’t really care if anyone would use it at the moment. My main goal right now is to improve my rust skills. And I guess there are limitations to how much ui you can change in obsidian.
Also there are other contexts where a note taking like function would be needed. For example I was actually trying to make a note taking app for cosmic desktop which I can access from the Taskbar
Depending on what you do, it will probably only be a few lines of rust. Most of the complexity would be in the DB setup and SQL queries. Since you’ll probably use an HTTP server crate that will handle all of that for you.
So, yes, it should be possible.
Even if you don’t intend to make it a UI project. You should still do a shitty UI. Otherwise you will spend more time testing it than actually developing it.
I already have mine written quite a while ago. Why not obsidian? AsciiDoc and few other things Obs will miss. Works with SQLite and PostgreSQL. For pure native UI (not WebUI) miss only AsciiDoc grammar I’m working on.
For you… sql knowledge requirement depends on your likings: you can build very small or unoptimised app and be fine, you can make very nice, and complex one and have very complex SQL queries.
I discourage to use MySQL (and clones) due some… peculiarities.

