Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emrahcom/kratos-selfservice-svelte-node
Self-service Svelte node for Ory Kratos
https://github.com/emrahcom/kratos-selfservice-svelte-node
authentication ory-kratos svelte sveltekit
Last synced: about 2 months ago
JSON representation
Self-service Svelte node for Ory Kratos
- Host: GitHub
- URL: https://github.com/emrahcom/kratos-selfservice-svelte-node
- Owner: emrahcom
- Created: 2021-08-30T08:30:31.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T15:04:20.000Z (over 1 year ago)
- Last Synced: 2024-04-24T06:20:11.984Z (9 months ago)
- Topics: authentication, ory-kratos, svelte, sveltekit
- Language: Svelte
- Homepage:
- Size: 168 KB
- Stars: 25
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kratos-selfservice-svelte-node
Self-service [Svelte](https://svelte.dev/) node for
[Ory Kratos](https://github.com/ory/kratos). It has no style or decoration.
Apply your custom style according to your application.## Install
- `git`, `nodejs` and `yarn` must be installed
- a working `Ory Kratos` is needed```bash
git clone https://github.com/emrahcom/kratos-selfservice-svelte-node.gitcd kratos-selfservice-svelte-node
yarn install
```## Config
Change `src/lib/config.ts` according to your environment.
```javascript
export const KRATOS = "https://kratos.mydomain.corp";
export const APP = "https://app.mydomain.corp";
```## Run (dev)
```bash
yarn run dev --host --port 3000
```## Run (prod)
```bash
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`