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.
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
book
Node.js in Action, Second Edition
Node.js in Action, Second Edition is a thoroughly revised book based on the best-selling first edition. …
video
Node.js API Masterclass with Express and MongoDB
This course will help you to create an extensive, in-depth backend API for DevCamper, a Bootcamp …
book
MERN Projects for Beginners: Create Five Social Web Apps Using MongoDB, Express.js, React, and Node
Learn how to use the MERN stack (MongoDB, Express.js, React, and Node) to build five fully …
book
Full Stack GraphQL Applications
Build hyper-fast and hyper-efficient web applications with GraphQL! This practical, comprehensive guide introduces the powerful GRANDStack …