In this video we will protect our API routes using authentication middleware, we also use adapt our database queries by putting the user_id in the conditions so that a user can only ever view, edit and delete their own tasks and lists.
This is Part 11 of this series where we are building a Task Manager Application from scratch using the MEAN stack.
Next video: https://www.youtube.com/watch?v=aACLcXR0kls&list=PLIjdNHWULhPSZFDzQU6AnbVQNNo1NTRpd&index=13&t=0s
Previous video: https://www.youtube.com/watch?v=Fa2imVkcdqs&list=PLIjdNHWULhPSZFDzQU6AnbVQNNo1NTRpd&index=10
The Series Playlist: https://www.youtube.com/playlist?list=PLIjdNHWULhPSZFDzQU6AnbVQNNo1NTRpd
Github Repo: https://github.com/Devstackr/task-manager-mean-stack
Download
0 formats
No download links available.
Protecting API Routes - [11] Build a Task Manager w/ Angular, NodeJS and MongoDB | NatokHD