Installing diskdb

Diskdb is a lightweight disk-based JSON database with a MongoDB-like API for Node. We can install diskdb with this command:

npm install diskdb

Create a todos.json file at the root of the directory. This file will serve as our database collection where we have our todo items. You can learn more about diskdb here

Get TypeScript 2.x for Angular Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.