21

Asserted Blog - Node Typescript API Template with Dependency Injection

 3 years ago
source link: https://asserted.io/posts/node-typescript-api-template-with-dependency-injection
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Node Typescript API Template with Dependency Injection

July 3, 2020
5edf8fa91bd219fd21deccfa_Group%2039%20(4).png
Node API template, written in Typescript, with dependency injection
Available on GitHub

Features

  • Dependency Injected Everything so everything is modular and unit testable
  • Typescript everything
  • Everything testable with emulators and Docker, many examples
  • Express API with dependency injected routes, controllers and middleware
  • Firestore with transparent validation and caching
  • Websockets driven by distributed events service
  • Fail-safe and centralized configuration loading and validation
  • Flexible and configurable rate limiting
  • Flexibility over magic

Folder Structure


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK