Book description
A hands-on implementation guide to application development in Node.js using the powerful Sequelize ORM
Key Features
- Use the highly powerful JavaScript library to map your database to objects easily
- Build an application from scratch with easy-to-follow steps and examples
- Discover industry best practices, tips, and techniques on Sequelize to manage your database with ease
Book Description
Continuous changes in business requirements can make it difficult for programmers to organize business logic into database models, which turns out to be an expensive operation as changes to the database may result in errors and incongruity within applications. Supercharging Node.js Applications with Sequelize helps you get to grips with Sequelize, a reliable ORM that enables you to alleviate these issues in your database and applications.
With Sequelize, you'll no longer need to store information in flat files or memory. This book takes a hands-on approach to implementation and associated methodologies for your database that will have you up and running in no time. You'll learn how to configure Sequelize for your Node.js application properly, develop a better sense of understanding of how this ORM works, and find out how to manage your database from Node.js using Sequelize. Finally, you'll be able to use Sequelize as the database driver for building your application from scratch.
By the end of this Node.js book, you'll be able to configure, build, store, retrieve, validate, and associate your data from a database to a Node.js application.
What you will learn
- Configure and optimize Sequelize for your application
- Validate your database and hydrate it with data
- Add life cycle events (or hooks) to your application for business logic
- Organize and ensure the integrity of your data even on preexisting databases
- Scaffold a database using built-in Sequelize features and tools
- Discover industry-based best practices, tips, and techniques to simplify your application development
Who this book is for
This book is for beginner- to intermediate-level Node.js developers looking to upgrade their skills and use Sequelize as their ORM of choice. Basic knowledge of and prior experience with JavaScript and SQL are needed to make the most out of this book.
Publisher resources
Table of contents
- Supercharging Node.js Applications with Sequelize
- Foreword
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1 â Installation, Configuration, and the Basics
- Chapter 1: Introduction to Sequelize and ORM in Node.js
- Chapter 2: Defining and Using Sequelize Models
- Part 2 â Validating, Customizing, and Associating Your Data
- Chapter 3: Validating Models
- Chapter 4: Associating Models
- Chapter 5: Adding Hooks and Lifecycle Events to Your Models
- Chapter 6: Implementing Transactions with Sequelize
- Chapter 7: Handling Customized, JSON, and Blob Data Types
- Part 3 â Advanced Queries, Using Adapters, and Logging Queries
- Chapter 8: Logging and Monitoring Your Application
- Chapter 9: Using and Creating Adapters
- Chapter 10: Deploying a Sequelize Application
- Index
- Other Books You May Enjoy
Product information
- Title: Supercharging Node.js Applications with Sequelize
- Author(s):
- Release date: October 2022
- Publisher(s): Packt Publishing
- ISBN: 9781801811552
You might also like
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for the latest version of React—React 18** React.js is the most …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Getting Started with Grafana: Real-Time Dashboards for IT and Business Operations
Begin working with the Grafana data visualization platform. This book is a “how-to manual” for deploying …
video
Angular - The Complete Guide [2023 Edition]
Learn all the fundamentals you need to know in order to get started developing Angular applications …