Description
In this course, you will :
- Learn the skills required to create high-quality Node.js apps that use SQL as their database in Introduction to Sequelize ORM for Node.js.
- Learn how to incorporate Sequelize into a Node.js project that is SQLite-configured.
- Investigate how to personalise models, perform CRUD operations, and create associations.
- Finally, you will combine everything to create a full-stack JavaScript application with Angular on the frontend. After completing this course, you will have a solid understanding of how to use Sequelize in Node.js to build high-performance applications.
Syllabus :
1. Features of Sequelize
- Introduction and Overview
- Prerequisites
- What Is Sequelize?
- SQL Database Explained
- Sequelize Uses Promises
- Benefits of Sequelize
2. Sequelize Setup
- SQLite Installation
- Project Setup
- Connecting to Database
- Models
- Sync Database
- Test with Data
- Data Types
- Primary Keys
3. Customize and Validate
- Customize Model
- Attribute Qualifiers
- Validations
- Hooks
- Review
4. Performing CRUD Operations
- Add Sample Data
- Create Method
- Find All and Filter
- Find One Entry
- Update Entry
- Delete Entry
5. Associations
- Associations Explained
- Add belongsTo() Association
- Foreign Keys
- Model Alias
- Types of Associations
- One-to-Many Association
- Many-to-Many Association
- Many-to-Many Example
6. Demo Application Using Angular
- Project Setup
- Database Setup
- Create Models
- Seed Database
- Show All Books
- Single User Route
- Save User Book
- Display User Books
- Save User Favorite
- Add New User