~/talk

An API from scratch with NestJS

TalkinFrenchat Devoxx France 2021 · 2021-09-29..10-01· [nodejs, typescript]
links:none on file
links:none on file
slides:none on file

Shows how to build a production-ready TypeScript REST API with NestJS using Express or Fastify, wiring JWT and Passport for authentication (register/login issues signed tokens, passwords hashed, global filters map 401/400/500 errors) and Swagger for documentation. Demonstrates implementing CQRS and event sourcing: commands and queries on a command bus, aggregates that emit domain events persisted via TypeORM, a custom event publisher and projections into a talks table; demo includes an admin/admin account, a create→reject→accept workflow, and tests using an in-memory database.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45NestJS overview
  3. 5:56Starting example project
  4. 13:46CQRS module and secure architecture
  5. 39:20Feature demo
  6. 41:27Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.