O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

TypeORM 

Inspired by frameworks such as hibernate and doctrine, the Entity Framework TypeORM (https://www.npmjs.com/package/typeorm) is an ORM framework supporting active record and data mapper patterns, unlike all other JavaScript ORMs. This enables us to write high quality, loosely coupled, scalable, and maintainable applications in the most productive way ever. It has the following advantages:

  • Uses multiple database connections
  • Works with multiple database types
  • Query caching
  • Hooks, such as subscribers and listeners
  • Written in TypeScript
  • Supports both the Data Mapper and Active Record patterns
  • Replication
  • Connection pooling
  • Streaming raw results (reactive programming)
  • Eager and lazy relations
  • Supports SQL as well as NoSQL databases

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required