GithubHelp home page GithubHelp logo

bp-passkey-12's Introduction

Passkey前後端示例項目

這個專案簡單展示了如何在前後端分離的架構中實現基於FIDO2的passkey認證(僅於localhost)。 前端使用React、Vite和TypeScript,後端則使用Node.js和TypeScript。

使用資料夾

後端

  • example: 後端源代碼 (取自 @simplewebauthn github)

前端

  • front_sample: 前端源代碼

環境需求

node": "18.17.0"

操作說明

安裝依賴

在前後端項目目錄下,執行以下命令安裝依賴: bash npm install

run專案

  • 在前端項目目錄下,執行以下命令起專案:
    npm start
  • 在前端項目目錄下,執行以下命令起專案:
    npm dev

授權

MIT

bp-passkey-12's People

Contributors

eddie605134 avatar

Stargazers

 avatar  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.