Skip to content

figonzal1/webauthn-fullstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WebAuthn Fullstack

Version en espanol

Fullstack authentication application with JWT and WebAuthn (passwordless) support. Composed of a NestJS backend and an Angular frontend.

Tech stack

Layer Technology
Frontend Angular 21, Tailwind CSS 4, @simplewebauthn/browser
Backend NestJS 11, TypeORM, Passport JWT, @simplewebauthn/server
Database PostgreSQL 17
Authentication JWT (access + refresh tokens) + WebAuthn (FIDO2)

Project structure

webauthn-fullstack/
├── backend/    # REST API with NestJS
├── frontend/   # SPA with Angular
└── README.md

Prerequisites

  • Node.js 20+
  • pnpm
  • Docker (for PostgreSQL)

Quick start

# 1. Start the database
cd backend
docker compose up -d

# 2. Install dependencies and start the backend
pnpm install
pnpm run start:dev    # http://localhost:3000

# 3. In another terminal, start the frontend
cd frontend
pnpm install
pnpm start            # http://localhost:4200

Documentation

About

Fullstack JWT + WebAuthn (FIDO2) authentication template with NestJS, Angular, and PostgreSQL

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages