Read these two pages from the Express "Getting Started" documentation:
- Hello World
- [Basic Routing
If you want some more reading
This Express JS Crash Course is a fantastic resources to help consolidate what we learned in class.
Note: When he uses Postman, you can simply use your browser.
There are some parts that you can safely ignore:
- 16:50-21:10 Ignore this bit about serving static files
- 25:10-31:10 Ignore this bit about creating a middleware function.
Look at a request in Chrome Dev Tools
In Google Chrome, open dev tools network tab and enter this URL into the browser: http://api.tvmaze.com/shows/82/episodes
Answer the following questions:
Share your answers with the other trainees in your Buddy Group or on your Slack class channel.
Did you get different answers to other people? Ask them how they worked them out!
Take a look at this repository:
In that folder you will find a task to create a Quote Server.
To complete the coursework you should:
- Fork the repository
- Complete the tasks
- Create a pull request back to the original repository
Prepare a VERY simple recap of what we did and what we learned in today's class in Node Week 1.
The presentation should last between 60 and 120 seconds
Time yourselves - that is NOT much time!
Next class we will be presenting a few of them in small groups to each other to recap what we learnt.
NOTE: Slides (or presenting from computer) are NOT allowed.
You can find additional challenges to work on here if you finish all of your homework.