---
title: "Comment by Franco Zenatti on \"SSR Authentication guide for SvelteKit\" | Hashnode"
description: "the program should run on xampp where I have apache, php and mysql, and then works with adapter-static? Also I did not understand the difference of implentation"
url: "https://hashnode.com/posts/ssr-authentication-guide-for-sveltekit/60aa508320d1f45ceb7efab1/comment/624b298d16cdedfe9f7d1036"
---

[Discussion](https://hashnode.com/posts/ssr-authentication-guide-for-sveltekit/60aa508320d1f45ceb7efab1)

Comment [SSR Authentication guide for SvelteKit](https://hashnode.com/posts/ssr-authentication-guide-for-sveltekit/60aa508320d1f45ceb7efab1)

[Franco Zenatti](https://hashnode.com/@frankz)

[Apr 4, 2022](https://hashnode.com/posts/ssr-authentication-guide-for-sveltekit/60aa508320d1f45ceb7efab1/comment/624b298d16cdedfe9f7d1036)

the program should run on xampp where I have apache, php and mysql, and then works with adapter-static? Also I did not understand the difference of implentation between SPA and SSR, could you explain it to me ?

[Andras Bacsai](https://hashnode.com/@andrasbacsai)

[Apr 5, 2022](https://hashnode.com/posts/ssr-authentication-guide-for-sveltekit/60aa508320d1f45ceb7efab1/comment/624b298d16cdedfe9f7d1036#reply-624c104b2b09bb392ea5cad4)

Yes, if you build it with adapter-static, you can serve it with Apache as the built files are regular HTML/CSS/JS files.

In short:

-   SPA means it will run in the browser only, so it only contains HTML/CSS/JS files. Routing (navigating within the app to a different route) is done on the client side.
-   SSR means the HTML is generated on the server-side, so you need to have a NodeJS running and serving your SSR application.

I hope it helps you!
