Skip to Content
Learning TypeScript 2.x - Second Edition
book

Learning TypeScript 2.x - Second Edition

by Remo H. Jansen
April 2018
Beginner content levelBeginner
536 pages
13h 21m
English
Packt Publishing
Content preview from Learning TypeScript 2.x - Second Edition

Working with databases

In this section, we are going to learn how to interact with a database from a Node.js application using a TypeScript library known as TypeORM. TypeORM is an object-relational mapping (ORM) library. An ORM is a tool that allows us to use objects and methods to interact with a database instead of using one of the flavors of the SQL programming language.

We are going to need a Postgres database server running in our development environment before we can implement an example. There are multiple ways to get a server up and running, but we are going to use Docker. Docker is a virtualization service that allows us to run software in standalone virtual machines known as containers. A Docker container is an instance of a Docker ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering TypeScript - Fourth Edition

Mastering TypeScript - Fourth Edition

Nathan Rozentals
Learning TypeScript

Learning TypeScript

Josh Goldberg
TypeScript for Beginners

TypeScript for Beginners

Bharath Thippireddy

Publisher Resources

ISBN: 9781788391474Supplemental Content