摘要:
Instead of just writing out the quote to the response, instead render the quote.ejs template, passing in the quote name and quote body. Then finish th 阅读全文
posted @ 2014-07-31 16:33
Zhentiw
阅读(194)
评论(0)
推荐(0)
摘要:
Create a route that responds to a GET request '/quotes/<name>', then use the param from the URL to retrieve a quote from the quotes object and write i 阅读全文
posted @ 2014-07-31 16:25
Zhentiw
阅读(159)
评论(0)
推荐(0)
摘要:
Create an express route that responds to GET requests at the URL /tweets that responds with the filetweets.html located in the same directory as app.j 阅读全文
posted @ 2014-07-31 15:30
Zhentiw
阅读(134)
评论(0)
推荐(0)