Skip to content

und3fined/kratos-frontkit

Repository files navigation

kratos-frontkit

A ory/kratos frontend. Start with Svelte and Deno

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

  • Install dependencies with pnpm
pnpm install
  • Run dev server
pnpm dev

# or start the server and open the app in a new browser tab
pnpm run dev -- --open

Building

Before creating a production version of your app, build adapter for deno environment.

cd internal/adapter-deno
pnpm install
pnpm prepublishOnly

Try command. Use deno for run code. Don't use nodejs

pnpm build

You can preview the built app with npm run preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.

Deno run

deno run --allow-env --allow-read --allow-net build/app.js

Or with custom hostname and port

HOST=127.0.0.1 PORT=4567 deno run --allow-env --allow-read --allow-net build/app.js

About

A svelte ory/kratos frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published