cruvex
cruvex
NNuxt
Created by cruvex on 4/11/2025 in #❓・help
Advice on Nuxt project setup
Hi all I have written a simple backend in rust that does session auth with cookies. Now the last couple of days I have been trying to make a simple frontend for this in Nuxt but I'm very new to using this kind of frontend frameworks so ive been struggling a bit with whats what. For now Im stuck on the following things: How do you recommend handling session management and auth handling? I have tried implementing server routes (bff) to access my backend but everything I do to get it to work like I want has me jumping trough so many hoops I must be doing something wrong. What is the idiomatic way to access an external api in nuxt (and do error handling)? Alexander Lichter's videos have been really helpfull. But I still feel like im missing something. Thanks in advance
92 replies