Before moving into the next exercise, Scott gives a quick overview of the configuration changes he made to integrate the authentication module. He explains the need for a couple of utility functions as well.
(dojo music)…- Just a recap because then we're going…to hope right in to authentication,…let's go over what we're going to do for authentication so…what I'm going to do is I'm going to just push…up this refractor with this abstraction…that we made on Step 10 fix,…just in case anybody wants to see it.…As you can see, there's so much more room…to do these abstractions, I mean, so much more room.…You could even,…if you go look at the controllers themselves,…all these can be abstracted too…They're literally all doing the same thing.…There's only one method in here…that's doing something different…and that's the post…because it's populating.…
Right here.…That's the only thing that's doing different…but that's just an option away, just patch in an option…so populate and stuff.…All right, so, you could even abstract this stuff out,…so hey, create routes, also, create controller methods.…Done.…All right? It's the same thing.…So I'm going to check this stuff in.…
It's really hard for me to type…because I'm so tall at this angle,…
This course was created by Frontend Masters. It was originally released on 12/30/2015. We're pleased to host this training in our library.
- Executing Node.js
- Using Express
- What is middleware?
- Testing in Node.js
- Using Mongo with Node.js
- Data modeling
- Querying data with Mongoose
- Identifying sensitive routes
- Configuring the deployment
Skill Level Intermediate
Node.js: Build Your First Microservicewith Daniel Khan2h 9m Intermediate
Building APIs Using Hapi in Node.jswith Kirsten Hunter2h 23m Intermediate
Node.js: Extend and Maintain Applicationswith Daniel Khan3h 35m Intermediate
2. REST APIs
5. Organization and Configuration
7. Data Modeling
10. Securing Routes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.