
In this lecture, Azat Mardan (the author) will welcome you to the course and set the expectation. Express is a good choice for building web apps. You'll learn what is waiting you in this course.
In this lecture, you can download the slides for the rest of the Express.js course. It's recommended to have the slides, because it's more convenient to open links from a PDF just by clicking on them instead of typing the URLs from the screen when you don't have the PDF and just watch the video.
Learn how to define a get route in Express, access route parameters and query strings via req.params and req.query, and use request handlers with req, res, and next.
Master express request and response objects, including json and urlencoded body parsing, multipart uploads, and response methods like json, redirect, render, plus session support with cookie-parser and express-session.
Demonstrates an Express.js RESTful API for creating and fetching messages. Learn server setup, routing to a MongoDB collection with mongoose, and tests with mocha and superagent.
Discover alternatives to express, such as sails and loopback, and learn how to leverage express skills in full-stack frameworks, with expressworks workshop for hands-on setup and rest api building.
Learn to set up an Express app, install the library with npm, create routes for / and /home that output Hello World, and run on port 3000.
Apply express static middleware to serve files from a public folder, use path.join for cross-platform paths, and validate the setup by running the server.
Learn to handle traditional forms with express and body-parser, using post requests and middleware to parse form data into a JavaScript object, then reverse a string for demonstration.
Learn to build an Express route that reads a file asynchronously with fs, handles errors with a 500 status, and responds in JSON using res.json after the data is ready.
Explore express boilerplate and organization for large web apps, including a live site example, source code on Get Happy open source, and a 50-page book excerpt about a large project.
You might have heard about such rapidly-growing-in-popularity technologies as NodeJS or the M.E.A.N. stack (MongoDB, ExpressJS, AngularJS and NodeJS). The brilliance of NodeJS is its fast performance and the ability to leverage JavaScript on the server. That's right! Developers can use one language for the browser and the server code. Even more so, they can use JavaScript for the database layer with MongoDB. Therefore, the full stack JavaScript becomes a new standard for web development.
With NodeJS being a low-level platform, it is not a framework by itself. This leads us to a problem of how we can organize code, parse requests, send back responses, use template engines, implement authentication, validation, and connect to databases among other things without solving those problems by ourselves?
For many years, NodeJS developers' choice of web framework is ExpressJS.
After taking this course, you can start mastering ExpressJS by building RESTful APIs for your single-page applications (powered by AngularJS, ReactJS, BackboneJS or any other front-end framework). With ExpressJS, developers can easily organize their code (middleware pattern), add more functionality (npm modules) and configure the server (configuration over convention).
Moreover, Express is mature and very stable so that it's a default choice for small companies and large enterprises. Even more advanced frameworks, like Sails or Loopback, extend ExpressJS (i.e., they depend on Express). Therefore, learning ExpressJS first is a valuable investment, because you can apply the same skills and existing ExpressJS middleware to more advanced frameworks.
This course comes with series of lectures and practicum. The benefits of ExpressWorks course and practicum (ExpressWorks the automated workshop) include:
This course is brought to you by Azat Mardan, the author of Practical Node, Pro Express, React Quickly, Full Stack JavaScript, Express API Reference and other JavaScript/Node books.