21
Asserted Blog - Node Typescript API Template with Dependency Injection
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
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK