#Auth with cookies
5 messages · Page 1 of 1 (latest)
you can do almost everything in frontend what you can do in browser plus more with tauri api. think tauri like a cdn server to serve framework and most static content for app. once your single page app loaded from tauri you can show loading or authenticating message in js and also can call to server to verify data.
you can store cookies or api key in stronghold plugin. plus you can use other plugins to cache remote data. try to think like you are making offline app with sqlx. so only queries you should make to server are to re-validate user or for new data from frontend in js.
I mean I would also wanna eventually target mobile. But it doesn't support it?
then make fontend like single page app do everything with api and host for api library is your server end point