Oreilly - Mastering Express Web Application Development
by Michael Heap | Publisher: Packt Publishing | Release Date: June 2015 | ISBN: 9781783554317
A fully featured hands-on guide to advanced Express JS usage that covers useful libraries, testing, real-time apps and deployment.About This VideoGet to grips with advanced ExpressJS features like Middleware and Sequelize, as well as mounting sub applications and a tiered configurationImplement real-time systems in your application like SocketIO and update information in real-timeBoost performance and make your application run faster using Nginx and NodeJSWade through HTTPS, CSRF and HTTP headers to make your application more secureIn DetailExpress is a fantastic JavaScript framework, but most people only scratch the surface. With just a few changes, Express can adapt to your work strategy, rather than things being the other way around. Express is perfect for developing APIs with performance in mind, and as it's a thin layer on top of standard web technologies it allows you to add any additional technology you want!Mastering Express Web Application Development will introduce the tools and libraries you need to take your Express development career to the next level. By learning how to use tools to make your life easier, you can do more in less time.To start, we'll create a new Express application, learn how to configure it and increase application visibility by using logs. We will explore Express itself, along with various libraries that will help improve your development experience. We'll be building on the previous section's work each time. As we move on we'll take a look at technologies such as SSL and Nginx, and work through deploying your application to production in a secure and scalable way. Furthermore, we will study various existing Express projects that are open source, and a review of how they are structured to help you to organize your own applications in a systematic way.By the end of the course, you will be an expert in using a wide range of new tools and libraries which will help you deliver the best value to your customers.
- Chapter 1 : Getting Started
- The Course Overview 00:02:19
- Configuration with nconf 00:10:16
- Getting to Know Winston 00:10:23
- Installing and Using Nunjucks 00:06:17
- Chapter 2 : Consuming Services
- Consuming the Instagram API 00:04:49
- Showing the Results on a Page 00:06:47
- Caching Requests in Memory 00:05:37
- Chapter 3 : Proving That Our Application Works
- Installing Mocha 00:05:01
- Refactoring to Make Things Testable 00:04:38
- Mocking to Remove Dependencies 00:07:13
- Spying with Sinon.js 00:06:31
- Chpater 4 : Let's Get Real-time
- Installing Socket.io 00:03:53
- Sending and Receiving Data in Real-time 00:08:18
- Scoping Data to Individual Users 00:06:59
- Adding a Chat Room 00:02:53
- Chapter 5 : Advanced Express
- Middleware 00:06:11
- Mounting Sub-applications 00:03:35
- Serving Content Conditionally for AJAX 00:06:04
- Persistance with Sequelize and MySQL 00:09:06
- Chapter 6 : Security
- HTTPS and Express 00:09:34
- Preventing CSRF 00:08:02
- Using Helmet to Make Your App More Secure 00:03:31
- Chapter 7 : Shipping to Production
- Improving Performance with Node.js Cluster 00:05:02
- Nginx and Node.js 00:02:51
- Using Supervisord to Keep Things Running 00:08:31
- Chapter 8 : Using Larger Express Applications
- ghost.org 00:08:53
- Balloons.io 00:07:57