Databases for Node.js Developers

Databases for Node.js Developers

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 3h 34m | 581 MB

Node.js developers often consider MongoDB to be their main choice when building a data-driven application—but many alternatives may provide better solutions. In this course, learn about the various database options available for Node.js applications, so that you can select the right database for your app. Daniel Khan reviews the basics of relational and nonrelational databases, and explains how—and when—to use document databases with Node.js. He also covers using key-value stores and relational databases with Node.js, demonstrating how to work with MySQL and Sequelize.

Table of Contents

1 Learn to create real database applications with Node.js
2 What you should know
3 Getting your tools ready
4 Loading the exercise files from GitHub
5 Set up and understand the maxcoin sample app
6 Set up and understand the shopper sample app
7 Database basics
8 Understand relational databases
9 Understand NoSQL databases and key-value stores
10 When to use and not to use document databases
11 Set up MongoDB
12 Connect to MongoDB
13 Insert data into MongoDB
14 Query data from MongoDB
15 Introduction to Mongoose
16 Add MongoDB and Mongoose to your project
17 Define your first schema and model
18 Prepare the item management system
19 Implement all database methods
20 Implement the user management system
21 Encrypting passwords
22 Introduction to key-value stores
23 Set up Redis
24 Use Node.js with Redis
25 Add Redis to your project
26 Session management in Express
27 Add Redis sessions to your project
28 Implement a basket service
29 Add the basket to the page
30 When to use relational databases
31 Set up MySQL
32 Create a database schema
33 Use Node.js with MySQL
34 Introduction to Sequelize
35 Add MySQL and Sequelize to your project
36 Review the database design
37 Create sequelize models
38 Review the auto-generated database structure
39 Implement an order service
40 Add order management
41 Next steps