wgwz / simple-express-keplr-passport

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express, React, Passport and Keplr PoC

This is a proof-of-concept that lays out the basic interactions between these systems. This code follows work done in commonwealth. This repos goal is to see the bare minimum to achieve a keplr login, and specifically to explore how to use passport.js to do so.

Running the PoC

  • (cd frontend && yarn start)
  • (cd backend && yarn start)
  • Visit localhost:3001
  • Modify users in backend/app.js if you want to test username/password auth.
  • Note: You must have the [Keplr] browser extension and have created a Keplr wallet to test the login with Keplr functionality.

Primary code

  1. backend/app.js
  2. frontend/src/App.tsx

About

License:MIT License


Languages

Language:JavaScript 88.2%Language:TypeScript 8.1%Language:HTML 2.1%Language:CSS 1.3%Language:Pug 0.3%