Databases for Node.js Developers
Overview
Learn about the various database options available for Node.js applications, so that you can select the right database for your app.
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.
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.
Syllabus
Introduction
- Welcome
- What you should know
- Using the exercise files
- Look back at databases
- Basics of relational databases
- Basics of nonrelational databases
- What we will build in this course
- Install Node.js
- Install Docker
- Install and configure Visual Studio Code
- Set up the sample apps
- When to use and not use document databases
- Set up MongoDB
- Connect to MongoDB
- Insert data into MongoDB
- Query data from MongoDB
- Introduction to Mongoose
- Add MongoDB and Mongoose to your project
- Define your first model
- Create an item management system
- Implement all database functions
- Create a user management system
- Introduction to key-value stores
- Set up Redis
- Use Node.js with Redis
- Add Redis to your project
- Add Redis sessions to your project
- Implement a basket service
- Put everything together
- Wire up a basket page
- When to use relational databases
- Set up MySQL
- Create a database schema
- Use Node.js with MySQL
- Introduction to Sequelize
- Add MySQL and Sequelize to your project
- Review the database design
- Create sequelize models and infrastructure
- Review the auto-generated database structure
- Implement an order service
- Add an order management
- Next steps
Taught by
Daniel Khan
Related Courses
Reviews
0.0 rating, based on 0 reviews