We’ve built a small application, but how does it measure up against other Express projects? Let’s take a look at Balloons and see how they’ve structured things.
- [Instructor] Welcome to part two…of Larger Express JS Applications.…In this video, we're taking a look at Ballons.IO,…a chat room built on Socket.IO.…We're going to take a look at how the application…is structured, what libraries they use,…and just how different it is from Ghost.org,…the blogging platform.…Just like last time, the first thing that we do…is clone the repository.…Once the repository is cloned,…we can run cloc to see how big the project is.…
It also uses redis and passport,…the authentication system that we saw in Ghost.…You notice that it depends on passport-facebook,…passport-twitter,…and passport-github.…
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