Clone this repo to try out writing some HTTP servers:
git clone https://github.com/Shurlow/http-server-lesson.git
- Start by looking through
simpleServer.js
. Test it out by runningnode simpleServer.js
and sending a request tolocalhost:8000
. - Update
simpleServer.js
to read fromguests.json
file. - Read through
server.js
and test it out. - Update
server.js
to accept GET reqests to/guests/0
and respond with the first guests name.