Combining SvelteKit with NodeJs and Express

Viewed 375

I am completely new to SvelteKit (and development in general). I built several NodeJS apps with express to learn web development.

I now learned the basics of Svelte and SvelteKit (routing etc.), but I struggle to understand how I can use NodeJS code at the backend and SvelteKit at the frontend smoothly.

I understand that I need an adapter. But how can an express-app interact with the client without creating routings conflicts? How can I have backend data and algorythms, that I then send to the client directly or through SvelteKit?

Is there any resource I can read/watch to understand this?

Greetings from a Newbie

0 Answers
Related