Define what an API is used for
Use npm to start a node server
Explain what express is and what it is used for
Use express to create an API that will accept a GET request that returns JSON
Implement routing to return different resources depending on URL
Implement query params to return different content (?query=ses)
Define what each part of CRUD is and what it does
Process a GET request using Express and Node to retrieve data from memory
Process a POST request using Express and Node and store data in memory
Process a DELETE request using Express and Node to remove data from memory
Install a third party library using npm
Introduce Express Middleware and why it is used.
Implement Authentication using JSON web tokens or OAuth 2.0 Authentication framework.
If you are teaching this class in the coming weeks you must instruct your students to complete the instructions below.
Install the software "Postman" for your OS.
If students do not arrive with these steps completed then you will lose a lot of time on your first lesson. You should consider running short mid-week sessions the week before to help students get set up.
If you haven't already, complete the in-class exercises.
Fork and clone the and finish Level 1 and 2.
Live coding session with students to go over project level 1 and 2 and Q&A session to clear their doubts.
If you haven't already, complete the in-class exercises.
Create a react app with three pages Login, Sign-up and Home which we will use on Saturday to connect with the Auth API we created today.
Live coding session with students to go over Auth API project and How to connect it with Front-end created using React and Q&A session to clear their doubts.
Week 2 - Node [Self-Hosted Slides] - 21/06/2020
Created by London and Jim
Created by Birmingham & Mark Farmiloe
If you haven't already, complete the in-class exercises.
Fork and clone the and finish Level 1 and 2.
Optional
and finish Level 3 and 4.
Fork and clone repository and follow the exercises
Live coding session with students to go over project and Q&A session to clear their doubts.