~/talk

Building the layered server application achieved by InversifyJS

Talkat JSConf JP 2019 · 2019-11-30..12-01· [typescript, nodejs]
links:none on file
slides:none on file

Builds a layered server with TypeScript 3.6, Express and Cloud SQL MySQL and shows how InversifyJS plus a DI container lets the app swap database providers for tests and production without changing business code. Implements a clear layer stack: HTTP router → mediators → repository pattern → reader/writer per relation → DB provider, uses Knex.js for SQL and transaction control, models domain with typed value objects and performs validation in constructors via constructor injection so runtime invariants hold.

AI-written summary · about

  1. 0:00Introduction to layered server
  2. 5:15What is tight coupling
  3. 12:12Dependency injection with InversifyJS
  4. 19:36Why switch to InversifyJS
  5. 27:19Summary and Q&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.