Roses are red\ Violets are blue\ Unexpected
{
on line 32— @kvlly
HTTP cat by @girlie_mac.
Compiling by @xkcd.
Downtown & Brooklyn by @trapnation.
In this assignment you’ll learn the basics of HTTP.
httpstatuses.com
(website) — List of HTTP status codesTake about 1 hour to follow the transfer tutorial through to completion.
Install:
be-course-18-19
repository.cd
into /be-course-18-19/examples/transfer
npm install --global
…and then start it by running transfer
.
This tutorial is interactive.
Answer any questions it asks you, until completion.
Plan a lifetime adventure by @glenncarstenspeters.
In this assignment you’ll apply your HTTP knowledge in Node by building a static file server with a little help from Express.
plain-server
(example)express-server
(example)Take ± 5 hours to create a server that handles routes and serves static files in Node.js. Feel free to write your server from scratch if you feel adventurous, otherwise express
is your best option.
Your static server should:
routes
(e.g. /about
/login
)404 Not Found
static files
template engine
(pug
, ejs
, handlebars
) to dynamically render data
partials
(includes) for components of your pagePush your changes: Hand in your progess in your repository on GitHub under your username.
Create an issue:
Mark this assignment as complete by opening an issue on our GitHub issue tracker. Fill in the issue template with the correct information. Make sure, in your repository, you include the resources used and update your readme.md
and wiki with additional information.
Feedback: Let us know what you thought of the homework, what part you spend a lot of time on and give us any feedback. Your project will be reviewed and receive feedback, so expect people to read it, and be ready for tips and tops!