Practical Node.js: Building Real-World Scalable Web Apps, Second Edition

  • 4h 59m
  • Azat Mardan
  • Apress
  • 2018

Learn how to build a wide range of scalable real-world web applications using a professional development toolkit. If you already know the basics of Node.js, now is the time to discover how to bring it to production level by leveraging its vast ecosystem of packages. With this book, you'll work with a varied collection of standards and frameworks and see how all those pieces fit together.

Practical Node.js takes you from installing all the necessary modules to writing full-stack web applications. You'll harness the power of the Express.js and Hapi frameworks, the MongoDB database with Mongoskin and Mongoose. You'll also work with Pug and Handlebars template engines, Stylus and LESS CSS lanaguages, OAuth and Everyauth libraries, and the Socket.IO and Derby libraries, and everything in between.

This exciting second edition is fully updated for ES6/ES2015 and also covers how to deploy to Heroku and AWS, daemonize apps, and write REST APIs. You’ll build full-stack real-world Node.js apps from scratch, and also discover how to write your own Node.js modules and publish them on NPM. Fully supported by a continuously updated source code repository on GitHub and with full-color code examples, learn what you can do with Node.js and how far you can take it!

What You'll Learn

  • Manipulate data from the mongo console
  • Use the Mongoskin and Mongoose MongoDB libraries
  • Build REST API servers with Express and Hapi
  • Deploy apps to Heroku and AWS
  • Test services with Mocha, Expect and TravisCI
  • Implement a third-party OAuth strategy with Everyauth

Web developers who have some familiarity with the basics of Node.js and want to learn how to use it to build apps in a professional environment.

About the Author

Azat Mardan works in technology leadership at Indeed.com and is a JavaScript/Node.js expert with several online courses on Udemy and Node University, and 12 books published on the topic, including top-sellers React Quickly (Manning, 2016), Full Stack JavaScript (Apress, 2015), Practical Node.js (Apress, 2014), and Pro Express.js (Apress, 2014).

In his spare time, Azat writes about tech on Webapplog.com, speaks at conferences, and contributes to open source. Before becoming an expert in Node.js, Azat finished his Master’s in Information Systems Technology; and worked at U.S. federal government agencies, small startups, and big corporations with various technologies such as Java, SQL, PHP, Ruby, etc.

Azat is passionate about technology and finance, as well as new ways of educating and empowering people.

In this Book

  • Introduction
  • Setting up Node.js and other Essentials
  • Using Express.js to Create Node.js Web Apps
  • TDD and BDD for Node.js with Mocha
  • Template Engines—Pug and Handlebars
  • Persistence with MongoDB and Mongoskin
  • Security and Auth in Node.js
  • Boosting Node.js and MongoDB with Mongoose
  • Building Node.js REST API Servers with Express.js and Hapi
  • Real-Time Apps with WebSocket, Socket.IO, and DerbyJS
  • Getting Node.js Apps Production Ready
  • Deploying Node.js Apps
  • Modularizing Your Code and Publishing Node.js Modules to npm
  • Node HTTP/2 Servers
  • Asynchronous Code in Node
  • Node Microservices with Docker and AWS ECS
  • Serverless Node with AWS Lambda
  • Conclusion
SHOW MORE
FREE ACCESS