Backend Logic using Sveltekit on Pages

This might be a stupid question. If I make a full stack app on Pages using Svektekit, where do I place the backend logic? If it's page specific, can I place it in +page.server? If I have complex logic, should I place it in /functions? Or does it matter? Can I place it in /api, for example? Thanks in advance for the help!
1 Reply
windwp
windwp7mo ago
you can use it on +page.server and /api