Skip to content
/ nuxt-todo-passkeys Public template
generated from atinux/atidone

A todo app with passkeys (WebAuthn) authentication with Nuxt.

License

Notifications You must be signed in to change notification settings

atinux/nuxt-todo-passkeys

Repository files navigation

Manage your Todos using Passkeys

A demonstration using Nuxt with server-side rendering on the edge, authentication and database querying using Cloudflare D1.

This demo is a fork of atidone but using Passkeys for authentication with nuxt-auth-utils.

Features

Live demo

https://todo-passkeys.nuxt.dev

Setup

Make sure to install the dependencies using pnpm:

pnpm i

To create sealed sessions, you also need to add NUXT_SESSION_PASSWORD in the .env with at least 32 characters:

NUXT_SESSION_PASSWORD="your-super-long-secret-for-session-encryption"

If you don't specify it, one will be generated for you.

Development

Start the development server on http://localhost:3000

npm run dev

In the Nuxt DevTools, you can see your tables by clicking on the Hub Database tab:

drizzle-meets-nuxt-devtools.mp4

Deploy

You can deploy this project on your Cloudflare account for free and with zero configuration using NuxtHub.

npx nuxthub deploy

It's also possible to leverage Cloudflare Pages CI for deploying, learn more about the different options on https://hub.nuxt.com/docs/getting-started/deploy

Remote Storage

Once you deployed your project, you can connect to your remote database locally running:

pnpm dev --remote

Learn more about remote storage on https://hub.nuxt.com/docs/getting-started/remote-storage

License

MIT License

About

A todo app with passkeys (WebAuthn) authentication with Nuxt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published