So I think I’ve talked before about this school project but in case I didn’t it was supposed to be creating a simple data base setup for a hypothetical airport (I have no damn idea if that how you spell that word but yeah it sounds about right to me!). But you know me, I love to over-complicate shit. So now I’m basically working on an across platform front-end for this DB, which btw I’ll be using the SurrealDB DBMS for. The whole idea about this project for me is:

  • To bring a little bit more attention to Rust, that’s why I chose SurrealDB and Tauri.
  • Also I really wanted to force myself on the front-end since I’m going to need a full stack web app to start using Tauri in the first place.

Da Game Plan: Link to heading

Today I learned the basics of my first JS framework ever, Svelte! which I’m going to use for the front end of this project, and to be honest my experience with JS wasn’t as bad as I expected, and yes that might be because the I chose a framework that is famous of being so fun and all but… I kinda enjoyed breaking down a web page to smaller components and then collecting them like some kind of a lego game. And from what I understand React too has this same concept so I think I won’t have that much of a trouble when I eventually start learning. With Svelte I can focus on performance and making a fast application but the part I’m worrying about for now is… networking.

See in my local machine the binary I create works fine as long as I have the web server running in the background via NPM, which means I’mma need to get the clients to connect to my device (the server in this case) through IP addresses and shit, I really don’t like that. Because this means that’s I’ll have to compile different binaries with my IP address hard coded in them which is kinda stupid and unpractical.

Seth.