Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.14 KB

express-lab-exercise.md

File metadata and controls

45 lines (26 loc) · 1.14 KB

Express.js

Languages

  • JavaScript

Frameworks

  • Node.js
  • Express.js

Topics

  1. How to create a web app with Express.js
  2. The MVC framework

Overview

In this lab exercise, you will learn how to use Express.js to build dynamic websites on the Node.js platform. In the process, you'll learn some fundamental HTTP concepts that you can apply to any other framework!

Context

  • We know how to run a server using Node.js
  • We have static HTML, CSS & JavaScript files we need to render in a Browser
  • Express.js allows us to serve these static files to the Browser using Node.js

Lab Instructions

Starter Code

There is no starter code for this lab exercise.

Lab Exercise

-Work through this tutorial on Team Treehouse: Express Basics

Questions to Consider

Extensions

  • Add more HTML views and routes to your Express.js app.
  • Create a blog-based website where you can write, edit and publish posts.
  • Create a mock shopping cart website where a user can browse inventory, add items to their cart, and reduce the inventory count for an item when they "purchase" it.