🔴Build a Secure Backend with TypeScript | (Auth + Best Practices)
This is the Easiest tutorial you will find on youtube to Build a Backend with TypeScript for absolute beginners. in this video i have explained the concepts in such a way that you will feel like its a Easiest Backend Tutorial with Typescript you will ever find on YT We have learned about 1. What is nodejs, expressjs 2. Middlewares 3. How to create a server 4. How to setup typescript 5. How to create a model 6. How to handle Cors 7. What is postman 8. Where to use postman vs thunderclient 9. Typescript Basics 10. How to create api with typescript and nodejs 11. Authentication and Authorization 12. MongoDB setup 13. Role based access control 14. Best Practices and so much more that we cant list. You will be finding this tutorial the Easiest backend tutorial with typescript you will ever find on yt Source Code👇 https://github.com/coder29yt/typescript-backend-course.git To join the community 👇 https://discord.gg/YtVEvJXfct Connect with me on social media 👇 LinkedIn : https://www.linkedin.com/in/raj-padval-10869125b/ Instagram : https://www.instagram.com/iamrajpadval/ Twitter / X : https://x.com/coder29yt 0:00 Coming up next 0:28 Intro 3:54 Setup 5:13 Setting Typescript 12:46 Modifying Scripts 18:20 Creating server in 4 steps 25:18 Setting up environment variables 28:21 Understanding and Installing required packages 29:27 Understanding request methods 30:46 Creating first endpoint 35:35 Setting cors and understanding middlewares 40:28 Creating database connection 50:24 Creating Models 57:48 Learning routes and creating routes 1:08:41 Setting up mongodb 1:11:25 Separating the logic to controller 1:14:42 Creating adding controller and route 1:17:46 Creating custom Response interface 1:21:54 Continuing the add logic 1:24:59 Understanding status codes 1:27:01 Creating route to add 1:27:51 Setting up postman 1:31:34 Solving req.body undefined issue 1:34:40 Creating get route 1:38:35 Creating update route 1:50:29 Creating delete route 1:55:08 Creating User Model 2:05:24 Creating authRoute 2:07:38 Creating Signup Controller 2:21:33 Testing signup api 2:29:37 Integrating password security 2:36:48 Creating Login Controller 2:58:02 Integrating JWT for authentication 3:13:24 Creating middleware to verify token 3:33:38 Integrating Role Based Access Control 3:54:26 Creating Logout Functionality
Download
0 formatsNo download links available.