> Focus on having lots of in class exercises.
> DONT teach everything, let the students investigate topics on their own aswell!
> Focus on how to read documentation, google answers and google errors!!
> Teach towards the students being able to solve the homework
Remember to add the code you wrote in the class to the relevant class branch's class work folder. If the branch has not been created just create and push it :) If you dont have access, write to one from the core team. You can see an example below!
To find examples of what teachers have taught before go to the class branches in the classwork folder, Fx class 07
If you find anything that could be improved then please create a pull request! We welcome changes, so please get involved if you have any ideas!!!
- Express
- What is express
- Routing (focus on
get
requests)app.use
app.get
- Live coding
- Params
users/:id
- Query parameters
users?limit=5
- Live coding
- Exercise
- Route order
- Logging and debugging
- Focus on the students understanding the order in which things are executed
- Middleware
next
method- Modifying
request
andresponse
- https://fullstackopen.com/en/part3/node_js_and_express#express
- Live coding
- Exercise
- Postman
- Create collection and save queries
- Sending get requests requests
- Query parameters
- Parameters
Go to the teacher-live-coding
repo, run npm install
and run using nodemon ./src/backend/app-use-vs-app-get.js
. Try and implement this functionality from the bottom while explaining.
Run nodemon ./src/backend/query-parameters-vs-parameters.js
. Try and implement this functionality from the bottom while explaining.
Run nodemon ./src/backend/route-order.js
. Try and implement this functionality from the bottom while explaining.
Run using nodemon ./src/backend/middleware.js
. Try and implement this functionality from the bottom while explaining.