Menu

How I Built a Cross-Platform App Using Tauri and Python FastAPI
📰

How I Built a Cross-Platform App Using Tauri and Python FastAPI

DEV Community: typescript·Mo Qunaybi·3 days ago
#YoFAWhGy
#devtotypescript#devto#dev#tauri#using
Reading 0:00
15s threshold

Talking first about the front-end framework Tauri, Tauri was first introduced in 2019 as an alternative to electron to leverage native web view of operating system instead of using chromium web view on all platform. This approach eats less memory. The fundamental approach of Tauri is to write your backend code in Rust which works very good cross-platform desktop application. However, when needing to run apps on the web which its possible to extract the front end and use REST api architecture to communicate between frontend and backend by using vite and the command pnpm run. This could save so much time by creating desktop, mobile, web application all in one front-end source code. In this article, I will explain how I built iHives a e-commerce platform. Using web tools such as Vite, Tauri, and FastApi.

The process is simple by following the documentation on Tauri v2 webpage.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.