Tauri

Last Edited On: March 1, 2024 @ 10:23 PM

For my business I need a application that will integrate with any system that the client has and they will need to easily integrate it with their systems no mater the type.

To make this happen I decided that I will create an desktop application, I wanted to get to know rust so I have went with tauri. It was either electron or tauri but I hate myself and I have never touched a piece of rust code so that sounded like the best course of action.

The inital start is always a struggle for some reason being packages/cargos/nuggets whatever you wanna call them. After sorting out all of the errors for the setup I got the application running, realized that the application runs in 2 parts the front-end and the back-end. I had no issue with the front-end since I already have knowledge in NextJS so I just used that. But for the rust side of things the back-end oo boi was I in a treat, no knowledge what so ever. I wanted to get the visual pieces done as quickly as possible since that would be the easiest part make a simple UI. After the UI was create I wanted to make the applications in steps, what do I mean well.

I firstly wanted to create a API call from the application.

Then I wanted to edit the application so that it would hide in the tray and no close when closed.

Make inputs from the front-end to pass into the back-end so that it was not hard coded values.