Book description
Node.js: Novice to Ninja is your hands-on guide to learning everything needed to build a professional web application using Node.js, the hugely popular open-source, cross-platform, back-end JavaScript runtime environment. You'll start off by getting familiar with the basics - installation and building your first apps - before moving onto more advanced concepts, including debugging, asynchronous programming, using Express.js, working with databases, deployment, and more. You'll finish by building a complete multi-player real-time quiz application.
- Install Node and build your first application
- Get started with Express.js and use it to process forms
- Master asynchronous programming in Node.js
- Work with MongoDB and MySQL databases
- Use WebSockets for real-time applications
- Understand the Node ecosystem: npm and modules
- Build a complete multiplayer quiz app
- And much more!
The book includes access to 25 high quality tutorial videos, containing 1.5 hours of content.
Publisher resources
Table of contents
- Node.js: Novice to Ninja
- Notice of Rights
- Notice of Liability
- Trademark Notice
- About SitePoint
- About the Author
- Preface
- Chapter 1: What is Node.js
- Chapter 2: Install Node.js
- Chapter 3: Your First Node.js Application
-
Chapter 4: How to Debug Node.js Scripts
- Skip Ahead?
- What is Debugging?
- How to Avoid Bugs
- Node.js Debugging Environment Variables
- Node.js Debugging Command-line Options
- Console Debugging
- Node.js util.debuglog
- Debugging with Logging Modules
- Node.js V8 Inspector
- Debugging Node.js Apps with Chrome
- Debugging Node.js Apps with VS Code
- Other Node.js Debugging Tools
- Exercise: Debugging webhello.js
- Summary
- Quiz
-
Chapter 5: Getting Started with Express
- Why use Express?
- Create a New Node.js Project
- Switch to ES6 Modules
- Install Express
- Create the Express Entry Script
- Should You Switch to HTTPS?
- Serve Static Files
- Express Middleware Functions
- Define Working Directories
- Compressing HTTP Responses
- Disable Express Identification
- Handle 404 Not Found Errors
- Add an HTML Template Engine
- Advanced Routing
- Exercises
- Summary
- Quiz
- Chapter 6: Processing Form Data with Express
- Chapter 7: How to Use the npm Node Package Manager
- Chapter 8: Using ES2015 and CommonJS Modules
- Chapter 9: Asynchronous Programming in Node.js
- Chapter 10: Using Database Storage
- Chapter 11: Using WebSockets
- Chapter 12: Useful Node.js APIs
- Chapter 13: Example Real-time Multiplayer Quiz: Overview
- Chapter 14: Example Real-time Multiplayer Quiz: Architecture
- Chapter 15: Example Real-time Multiplayer Quiz: Express Code
- Chapter 16: Example Real-time Multiplayer Quiz: WebSocket Code
-
Chapter 17: Node.js Tools and Resources
- Perfect Package Pursuit
- Development Tools
- Testing
- Logging
- Full-stack Frameworks
- Server-side Frameworks
- Web Publishing, Content Management Systems, and Blogging
- Headless Content Management Systems
- Static Site Generators
- Database Drivers
- Templating
- Command Line
- File System
- Network
- WebSockets
- Images
- Security and Authentication
- Summary
- Chapter 18: Node.js Application Deployment
- Chapter 19: Epilogue
- Appendix: Quiz Answers
Product information
- Title: Node.js: Novice to Ninja
- Author(s):
- Release date: June 2022
- Publisher(s): SitePoint
- ISBN: 9781925836523
You might also like
video
The Complete Node.js Developer Course (3rd Edition)
This course was just completely re-filmed to give you everything you need to master Node.js in …
video
Modern JavaScript From The Beginning
This is a front to back JavaScript course for absolutely everybody. We start with the basic …
video
Modern JavaScript from the Beginning - Second Edition
This course is a comprehensive introduction to JavaScript, covering everything from the basics of variables, data …
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for React 18** Starting with an introduction to React concepts, you …