In this exercise, you must secure the routes that create a new blog post. This way, only users that are logged can create posts. You also need to enable CORS so the UI application can communicate with the API.
(asian music)…- Alright, so your objective, now that we have…all this stuff signed in, is I want the ability to,…so once I'm signed in, actually let's just,…let's make a new one.…sara, and 123.…So once I'm signed in, I need to able to come here…and make a blog post.…So I'm like, this is my new post,…and I start typing in, you know, some stuff for my post,…and I click done, oh it does work, that's alright,…I didn't know you could do that.…
I thought I stopped that.…Hold on one second,…am I on the fix branch?…Oh, I am on the fix branch.…I'm like, why is all that working,…that should not be working.…Okay so this is what it's going to look like when you're done.…I just showed you like all the answers,…I'm like, wait, this stuff should not be working,…what are they going to do now, cause I'm pretty sure,…yeah, I'm on the fix branch.…It seems like a lot of you knew that too, so,…but that's good, I found some errors on the fix branch,…so if you want, just pull this down in like five seconds,…that's great.…
I was like, woah, I don't know what you're going to do now…
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.