Fullstack authentication application with JWT and WebAuthn (passwordless) support. Composed of a NestJS backend and an Angular frontend.
| 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) |
webauthn-fullstack/
├── backend/ # REST API with NestJS
├── frontend/ # SPA with Angular
└── README.md
- Node.js 20+
- pnpm
- Docker (for PostgreSQL)
# 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- Backend README — API, modules, configuration and testing
- Frontend README — Components, auth flow and development