Giter Club home page Giter Club logo

austinjs-passkeys's Introduction

๐ŸŽฒ AustinJS Passkeys

This simple application demonstrates how to set up passkey registration and verification flows using JavaScript. This code is to help people get familiar with the concepts and in no way is an attempt to inform how passkeys should be used in production in the context of user authentication.

๐Ÿš€ Technologies

๐Ÿ›  Setup

This project is set up as an npm workspace containing two projects:

  • client: This is the webpage where the user will sign up for an account with a passkey, and then sign in using it. The webpage is built with Vite and it uses the TailwindCSS play CDN for its basic styling. We also use Vite to create a proxy to the server, http://localhost:3000/api -> http://localhost:8080/api
  • server: This is the back-end service used to generate registration/authentication requests and to verify registration/authentication responses. It is written with Express.js and implements a simple in-memory database.

The dependencies are managed at the root level for both the client and the server, running npm install on the root folder will install the necessary dependencies for both.

Running the project:

# Running client and server concurrently
npm run dev

# Running only the client
npm run dev:client

# Running only the server
npm run dev:server

๐Ÿ“‹ Meta

Lucas Castro โ€“ lucasamonrc.dev โ€“ [email protected]

@lucasamonrc

austinjs-passkeys's People

Contributors

lucasamonrc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.