Get Programming with Node.js

  • 6h 29m
  • Jonathan Wexler
  • Manning Publications
  • 2019

Summary

Get Programming with Node.js teaches you to write server-side code in JavaScript using Node.js. In 37 fast-paced, fun, and practical lessons, you'll discover how to extend your existing JavaScript skills to write back-end code for your web applications.

Foreword by Kyle Simpson.

About the Technology

Node.js delivers the speed and reliability you need for ecommerce, social media, and gaming applications. It comes with thousands of prebuilt packages to help you get started immediately. If you want to use JavaScript on the server, Node.js is your choice.

About the Book

Get Programming with Node.js teaches you to build web servers using JavaScript and Node. In this engaging tutorial, you'll work through eight complete projects, from writing the code for your first web server to adding live chat to a web app. Your hands will stay on the keyboard as you explore the most important aspects of the Node development process, including security, database management, authenticating user accounts, and deploying to production. You'll especially appreciate the easy-to-follow discussions, illuminating diagrams, and carefully explained code!

What's inside

  • New features from ES2015 and later
  • Writing asynchronous code
  • Creating data models
  • Debugging JavaScript modules

About the Reader

Written for front-end web developers with intermediate JavaScript skills.

About the Author

Jonathan Wexler is skilled in production-grade, full-stack web development. He's a senior developer with Bloomberg.

In this Book

  • Foreword
  • About This Book
  • Setting up Node.js and the JavaScript Engine
  • Configuring Your Environment
  • Running a Node.js Application
  • Creating a Node.js Module
  • Building a Simple Web Server in Node.js
  • Handling Incoming Data
  • Writing Better Routes and Serving External Files
  • Capstone—Creating Your First Web Application
  • Setting up an App with Express.js
  • Routing in Express.js
  • Connecting Views with Templates
  • Configurations and Error Handling
  • Capstone—Enhancing the Confetti Cuisine Site with Express.js
  • Setting up a MongoDB Database
  • Building Models with Mongoose
  • Connecting Controllers and Models
  • Capstone—Saving User Subscriptions
  • Improving Your Data Models
  • Building the User Model
  • Creating and Reading Your Models
  • Updating and Deleting Your Models
  • Capstone—Adding CRUD Models to Confetti Cuisine
  • Adding Sessions and Flash Messages
  • Building a User Login and Hashing Passwords
  • Adding User Authentication
  • Capstone—Adding User Authentication to Confetti Cuisine
  • Adding an API to Your Application
  • Accessing Your API from Your Application
  • Adding API Security
  • Capstone—Implementing an API
  • Working with Socket.Io
  • Saving Chat Messages
  • Adding a Chat Notification Indicator
  • Capstone—Adding a Chat Feature to Confetti Cuisinex
  • Deploying Your Application
  • Managing in Production
  • Testing Your Application
  • Capstone—Deploying Confetti Cuisine
SHOW MORE
FREE ACCESS

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE