kratos-selfservice-svelte-node
kratos-selfservice-svelte-node copied to clipboard
Self-service Svelte node for Ory Kratos
trafficstars
kratos-selfservice-svelte-node
Self-service Svelte node for Ory Kratos. It has no style or decoration. Apply your custom style according to your application.
Install
git,nodejsandyarnmust be installed- a working
Ory Kratosis needed
git clone https://github.com/emrahcom/kratos-selfservice-svelte-node.git
cd kratos-selfservice-svelte-node
yarn install
Config
Change src/lib/config.ts according to your environment.
export const KRATOS = "https://kratos.mydomain.corp";
export const APP = "https://app.mydomain.corp";
Run (dev)
yarn run dev --host --port 3000
Run (prod)
yarn run build
node build/index.js
Pages
-
Landing page
/ -
Secure dashboard
/dashboard -
Registration
/registration -
Login
/login -
Settings
/settings -
Recovery
/recovery -
Verification
/verification -
Logout
/logout