FrontendMasters – Zero to Production Node js on Amazon Web Services


FrontendMasters – Zero to Production Node js on Amazon Web Services Download

Equip yourself with the knowledge to build, test, deploy, and scale Node.js web applications in production on Amazon Web Services.

This course and others like it are available as part of our Frontend Masters video subscription.

Zero to Production Node js on Amazon Web Services Download
Zero to Production Node js on Amazon Web Services Download

Table of Contents

The Web Server

  • The Sample Application
    Kevin will be using the TodoMVC front-end application throughout the course. He spends a few minutes talking about how the application will work and what he’ll be doing to migrate the application from only running on the front-end to leveraging the server capabilities within a Node.js environment.
  • Exercise 0: Setting up Shop
    In this exercise, Kevin walks through the initial setup of the TodoMVC++ application. He describes the purpose of each directory and talks about how he’ll be using Grunt as the task runner for the project. After the brief walkthrough, he installs and runs the application from the command line. Then, Kevin spends a few minutes troubleshooting some installation issues. –
  • Serving HTTP Requests with Express
    The TodoMVC++ application will be using Express for routing HTTP request to and from the Node server. Express is often referred to as “Middleware” since it handles HTTP requests between the client and the server.
  • 00:30:22 – 00:42:40

    The Web Server Code Demo

    Kevin goes through a brief code demonstration of some of the key features of Express. He creates a basic application with route handling. Then he compares an inline-middleware model with a more modular approach. Using modules make the middleware more pluggable and easier to maintain.
  • Alternatives to Express
    Express is not the only HTTP Request handler in the Node ecosystem. Kevin talks through a few Express alternatives like Hapi, Sails, and Koa. These alternative frameworks require different levels of configuration and may be more or less complex than Express. Kevin recommends choosing a framework that best-fits your development style and requirements.
  • Exercise 1: Hacking on Express
    In this exercise, you will work with the Express framework in the TodoMVC++ application. You will modify the headers sent by Express, create a logging middleware, and add “X-Shenanigans-None” to all API requests. Tasks for this exercise are located in the Issues section of the Github project and labeled
  • Exercise 1 Solution

    Kevin walks through the solution to Exercise 1.

Build Tools

  • NPM Scripts & Grunt
    NPM scripts are a part of the Node environment. They require no additional installation and provide a conventional method for running local binary commands. Grunt tasks add a mature plugin ecosystem and are good at synchronous execution. The TodoMVC++ application will be leveraging both NPM scripts and Grunt tasks.
  • NPM Scripts & Elastic Beanstalk
    The deployment environment, which Kevin will be covering later in this course, is Elastic Beanstalk. The NPM scripts that are used by Elastic Beanstalk are start, prestart, and poststart. These scripts start the Node process and run any necessary commands before and after the process has started.
  • Build Tools Code Demo
    Kevin spends some time walking through the current NPM scripts included in the application. Along with the start and prestart scripts, a test script is included which will run the Mocha test runner. After looking at the NPM Scripts, Kevin introduces the the Grunt tasks and looks how they are configured in the Gruntfile.js file.
  • Alternatives & Friends of Grunt
    Two alternative task runners to Grunt are Gulp and Webpack. Gulp leverages streams which can be faster and has a more code-like syntax as opposed to Grunt’s configuration file. Webpack, which integrates with Grunt tends to add more frontend features and is less of a general-purpose task runner.
  • Exercise 2: Enhancing our Build Tools
    In this exercise, you will add an NPM script as a shortcut for the Sequelize migrate command. You will also uglify the JavaScript application code during the build process with Grunt.
  • Exercise 2 Solution
    Kevin walks through the solution to Exercise 2.

And More…




Zero to Production Node js on Amazon Web Services Download

   Download [6.0 GB]

If This Post is Helpful to You Leave a Comment Down Below Also Share This Post on Social Media by Clicking The Button Below

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More