From 44cc3c413135d1a817c4950d487229d9f325bf38 Mon Sep 17 00:00:00 2001 From: Kristyn Bryan Date: Mon, 13 Jun 2016 16:35:54 -0400 Subject: [PATCH] Update README.md --- unit_02/w05d02/homework/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/unit_02/w05d02/homework/README.md b/unit_02/w05d02/homework/README.md index 509dbae..7e953a3 100644 --- a/unit_02/w05d02/homework/README.md +++ b/unit_02/w05d02/homework/README.md @@ -58,9 +58,11 @@ Prerequisites: Javascript
- Create a Javascript file (`.js`) for each express application (ex: `tip_calculator.js`). - Inside your homework folder, install express `npm install --save express` - Check your files. Hint: `ls`. If you have a `node_modules` folder with `express` somewhere inside, then you've successfully added express to your folder. -- Inside your Javascript file, -- +- Inside your Javascript file, require `express` (look back to the markdown from today if you need more help on how to do this) +- Install express on our server. +- Tell the server where to listen for requests (the port). +As a reminder, to get and send information, refer to this example: ``` app.get('/greeting/:name', function(req, res) { res.send({params: req.params, queries: req.query})