submitted 5 months ago* (last edited 5 months ago) by to c/rust@programming.dev
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 5 months ago

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.

  • source