Get a hands-on guide to advanced Express.js development, covering useful libraries, testing, real-time data, and deployment. Explore the tools and libraries you need to take your Express development career to the next level.
(bright music) - Hi, and welcome to Mastering Express Web Application Development from Packt Publishing. I'm Michael Heap, a developer from London, England. Welcome to Mastering Express Web Application Development. I've been a developer for about ten years now, and I started shipping Node code to production when it was only in version zero point six.
For the last few years, I've been working with real time data pipelines, filtering and augmenting data for customers. This course assumes that you have a working install of Node.js, and are familiar with NPM. No prior knowledge of Express JS is required. IO JS should work fine, but for this course we'll be using Node. Throughout the course, we'll be taking a look at how to create a solid base for your Express JS applications, how to pull in data from external services, and how to get that data to your users in real time.
As well as that, we'll cover advanced Express JS tips, how to secure your application, and finally, how to ship it to production once it's done. We'll be taking a look at popular Node modules, such as nconf, Winston, and Helmet during the course. We'll start by bootstrapping an Express application with configuration options and contacts that we're logging before moving on to integrating external APIs.
If you're familiar with Express, but want to learn how to scale your code base whilst adhering to best practices, this is the course for you. Following that, we'll be writing some tests for our application, to prove that it works as expected before we integrate Socket.IO to provide our users with data in real time, and leveraging its functionality to provide a simple chat room for our application. Next up, using nconf, a configuration management tool for Node.
To start, author Michael Heap creates a new Express application, showing how to configure it and increase application visibility with logs. Explore Express along with various libraries that will help improve your development experience. Then take a look at technologies such as SSL and nginx, and work through deploying your application to production in a secure and scalable way. Michael also introduces some existing open-source Express projects and reviews how they are structured, to help you organize your own applications in a systematic way. By the end of the course, you'll be familiar with a wide range of new Express tools and libraries, all of which will help you deliver the best value to your customers.
- Consuming an API
- Showing results on a webpage
- Caching requests in memory
- Refactoring for testing
- Mocking to remove dependencies
- Spying with Sinon.JS
- Sending and receiving data in real time
- Mounting subapplications
- Serving content conditionally for AJAX
- Securing your app
- Improving performance
- Examining large-scale Express apps: Ghost.org and Balloons.IO