REST API - Node.js, mongoDB & JWT [3] - Defining User Model and Routes
This is episode 3 of the series where we are building RESTful API using node.js, mongoDB and JWT. In this video, we will define User model using mongoose and then routes for handling register and login endpoints. ... https://www.youtube.com/watch?v=AAiYpu1glJY
This is episode 8 of the series where we are building RESTful API using node.js, mongoDB and JWT.
In this video, we will access our API from web client and then learn about CORS.
...
https://www.youtube.com/watch?v=8uUFcfEyEqg
This is episode 4 of the series where we are building RESTful API using node.js, mongoDB and JWT.
In this video, we ensure that user gets created in database on register. We will also use bcryptjs npm package to make sure that password must be stored in hashed form.
...
https://www.youtube.com/watch?v=rmKgDrIpwVo
This is episode 7 of the series where we are creating a React App using Redux and Bootstrap.
In this video, we will work on logout feature. On header component, we will add a logout button along with welcome text for currently logged-in user.
...
https://www.youtube.com/watch?v=_Gexcu8qYKg
This is episode 11 of the series where we are creating a React App using Redux and Bootstrap.
In this video, we will add the delete note functionality. We will use bootstrap modal as confirmation dialog and only when the user confirms, we will dispatch action to invoke DELETE method on our REST API.
...
https://www.youtube.com/watch?v=GIi0Fn13Nw4
This is episode 10 of the series where we are creating a React App using Redux and Bootstrap.
In this video, we will add update note functionality using the same form. In bootstrap table, we will make title as link and on clicking that, we will open edit-note page in update mode.
...
https://www.youtube.com/watch?v=VqFqZRJlXL8
This is episode 12 of the series where we are creating a React App using Redux and Bootstrap.
In this video, we will add required validations to all the 3 forms - login, register and notes.
...
https://www.youtube.com/watch?v=aIqdqbMAE2s
This is episode 5 of the series where we are creating a React App using Redux and Bootstrap.
In this video, we will connect both login and register components to the store and make sure that we are able to hit REST endpoints to perform register and login operations.
...
https://www.youtube.com/watch?v=z12MqIaKC7Y
This is episode 9 of the series where we are building RESTful API using node.js, mongoDB and JWT.
Below is GitHub link for the complete final code:
https://github.com/pairlearning/personal-notes-mgr-api
Complete playlist:
https://www.youtube.com/playlist?list=PLWieu6NbbqTxb-mKf4J0_Pl3vmGWmOfmY
...
https://www.youtube.com/watch?v=YwjR7k28QV0
This is episode 6 of the series where we are building RESTful API using node.js, mongoDB and JWT.
In this video, we will define note mongoose model and create routes.
...
https://www.youtube.com/watch?v=XKq44p0cPDY