triceratops-project / triceratops

1 stars 0 forks source link

Ditch static export in favour of SSR in SvelteKit so the application front end doesn't need API routes. #15

Open FelixKLG opened 7 months ago

FelixKLG commented 7 months ago

Yeah it's in the title, I'd like to be able to ditch the idea of frontend and data only Api routes in favour of SSR, also reduces the risk of token jacking and that kinda crap. Would also play in favour for blocking off Windows development without using WSL.

Could internally use Caddy to proxy it properly and then strip out some components of the Rust backend which doesn't work as reliably as I'd like it to, then could use SSR/SSG and other kinda crap.

Could either use Bun (my preference) or Node to run this backend, depends on how well it all works on Alpine and wether or not it would be in the interest of the project to adjust how it all works and deploys.