spa_svelte_javascript_hello-world Svelte Themes

Spa_svelte_javascript_hello World

Hello, Svelte World!

This code sample demonstrates how to implement authentication in a Svelte Single-Page Application (SPA).

Get Started

Install the project dependencies:

npm install

Create a .env file under the root project directory with the following content:

AUTH0_DOMAIN=
AUTH0_CLIENT_ID=
AUTH0_AUDIENCE=https://hello-world.example.com
API_SERVER_URL=http://localhost:6060

Run the application:

npm run dev

Visit http://localhost:4040/ to access the starter application.

Top categories

Loading Svelte Themes