For testing new concepts and ideas
|
|
3 tháng trước cách đây | |
|---|---|---|
| certs | 3 tháng trước cách đây | |
| src | 3 tháng trước cách đây | |
| test | 6 tháng trước cách đây | |
| .gitignore | 6 tháng trước cách đây | |
| .prettierrc | 6 tháng trước cách đây | |
| README.md | 3 tháng trước cách đây | |
| eslint.config.mjs | 6 tháng trước cách đây | |
| nest-cli.json | 6 tháng trước cách đây | |
| package-lock.json | 3 tháng trước cách đây | |
| package.json | 3 tháng trước cách đây | |
| tsconfig.build.json | 6 tháng trước cách đây | |
| tsconfig.json | 3 tháng trước cách đây |
This is a full-stack demonstration of passwordless authentication using WebAuthn passkeys, built with:
| Layer | Tech |
|---|---|
| Frontend | Angular 20, Angular Material |
| Backend | NestJS |
| Auth | @simplewebauthn/server + browser |
| Hosting | NestJS serves Angular build |
| Tunnel | ngrok for HTTPS development |
Download this project from Google Drive or clone it if hosted on Git later. https://chat.google.com/dm/hDsHMQAAAAE/79WHykPDGEQ/79WHykPDGEQ?cls=10
cd your-project-directory
dependencies already installed in this case. just extract the program.
setup: https://dashboard.ngrok.com/get-started/setup/windows npx ngrok http 3000 Copy the exposed Url
Update the URLs ..\Mobile Authentication Sample\sample-auth-backend\src\config.ts Update the URL ..\Mobile Authentication Sample\web-app\src\app\config.ts
npm run nest This will enable NestJS to serve the frontend statically
in ..\Mobile Authentication Sample\sample-auth-backend run npm run start