Completed
Use EJS includes to extract common markup into one file
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Protecting Routes and Securing API Endpoints in Node.js and Express - Part 3
Automatically move to the next video in the Classroom when playback concludes
- 1 0:00 Hello!
- 2 Create a second route in the Web App
- 3 Create a second EJS template for this new route
- 4 Use EJS includes to extract common markup into one file
- 5 Secure the second route with Auth0
- 6 Create a simple Express-based API with a public endpoint
- 7 Pull API responses into the Web App using Axios
- 8 Create a private endpoint in the API
- 9 Pass authorization headers to the API from the Axios call
- 10 Configure the Web App to request an Access Token from Auth0
- 11 The final result and closing comments