Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.22 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.22 KB

Week 06 Express: Basic Routing

Setup

Follow this guide on the Express website: https://expressjs.com/en/starter/installing.html

To summarize the guide... you install express like any other npm package by
running npm install --save express

Usage

To run a step simply use node step_0x.js

Recommended Reading

Hypertext Transfer Protocal

  • Read about the different types of request methods.

ExpressJS Guide on Routing

  • Read if you want a more information about routing in Express.

ExpressJS Request Documentation

  • Look through the different properties the "req" object has

Assignment

This assignment is an exercise in reading documentation.

Create new Github Repo. Within this repository, create an express project with
3 different pages. You should route these pages using a single route.

Use the steps in this repository to help you with boilerplate code.

Hint: take a look at this.

Submit your assignment here