Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building a Website with Node.js and Express.js

via LinkedIn Learning


Learn how to build dynamic websites with Node.js and Express.js, a popular web server framework.


  • Dynamic websites with Node and Express
  • What you should know
  • Using the exercise files and GitHub
  • Setting up your development environment
1. Building a Basic Express Application
  • Create an Express server in three minutes
  • Building from a HTML page or template
  • Serving HTML pages and static content
  • Setting up ESLint and Prettier
  • Setting up nodemon
2. Template Engines
  • Template engines and Express
  • Getting to know the EJS template engine
  • Rendering the index page with EJS
3. Express Routes and Middleware
  • Express middleware and routes
  • Modular routes with express.Router
  • Creating routes for all subpages
  • Add business logic
  • Add a session management middleware
4. Professional Templating with Express
  • Create a site-wide layout
  • Using partials with EJS
  • Template variables in more detail
  • Looping through lists in templates
  • Creating a list page
  • Using parameter routes
  • Challenge: Partials and lists
  • Solution: Partials and lists
5. Handling Errors Gracefully
  • How to handle errors in express
  • Creating an error page
  • Populating the error page
6. Handling Form Data
  • Creating a form template
  • Handling POST requests
  • Validating and sanitizing user input
  • Storing data
7. Creating APIs with Express
  • A little intro to REST APIs
  • Creating and testing an API endpoint
  • Add client side JavaScript
  • Updating the page from REST
  • Build on what you've learned

Taught by

Daniel Khan


4.5 rating at LinkedIn Learning based on 232 ratings

Start your review of Building a Website with Node.js and Express.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.