Build Scalable REST APIs in Node.js with Express, Postgres & SequelizeORM (2-Hour Masterclass)
Vložit
- čas přidán 20. 06. 2024
- This comprehensive 2-hour tutorial takes you from beginner to expert in Node.js, Express, Postgres, and SequelizeORM!
Learn everything you need to create scalable, secure, and maintainable APIs. Step-by-step instructions, hands-on exercises, and expert tips make this the ultimate guide for backend developers.
No prior experience required! Even if you're new to Node.js or SequelizeORM, this tutorial will equip you with the skills to build professional-grade APIs.
Project related links:
----------------------------------
Download NodeJs: nodejs.org/en
Download Postman: www.postman.com/downloads/
Downlaod project code(GitHub) : github.com/tariqu/REST-APIs/
Sequelize ORM : sequelize.org/
📚 Topics Covered:
00:00 Project Overview
02:34 Project Setup
05:28 Create Express Server
06:12 Postman Setup
06:55 Folder Structure
13:55 Setup Project Env
18:05 Setup SequelizeORM
24:00 Generate Model and Migration file
34:02 Signup Process
40:00 Password Validation and Encrption
43:25 JsonWebToken
47:06 Login Process
54:35 Global Error Handler
01:15:55 Code Refactoring
01:15:55 Validation and Constraints
01:22:41 Project Model
01:33:40 Authentication
01:41:56 Authorization
01:47:06 Association
01:59:04 Seeder
🛠️ Tools Used:
Node.js
Express.js
PostgreSQL
Sequelize ORM
👩💻 Who Is This For:
Developers wanting to learn or reinforce REST API concepts.
Those interested in building scalable and efficient APIs.
Enthusiasts looking to integrate PostgreSQL with Node.js applications.
🎥 Watch Now: • Angular 15 CRUD app us...
🤝 Connect With Me:
Instagram: [ / tariquerkl ]
Discord: [ / discord ]
GitHub: [github.com/tariqu]
🚨 Ready to elevate your API development skills? Dive into the tutorial now! Don't forget to like, share, and subscribe for more content! 🔥
Really a good class, I have knowledge of Nodejs but I don't understand about how could I manage structure of project in it. I learn so much about SequelizeORM. After learn from your master class I'm so much confident about how to handle structure of the project and your way to explain everything is so simple and meaningful, it's matter a lot. In short your video is 2 hours master class but the knowledge I gain is more than double. Thank for making this helpful video
You're a great teacher! I understand everything you teach really well. I tried lots of tutorials to learn backend with Postgres, but none worked for me. Then I found your two-hour tutorial, and it taught me everything I needed to know. Now I feel confident making backends for my projects. I've been a frontend developer for 1.5 years, working with React. Now I'm learning to be a full-stack developer with the PERN stack. Thanks for helping me learn!
Great Video! Please post more contents. 👏
Thank very much for this video Sir. Please do more videos on PERM - (Postgres, Express, React & Node)
nice video , explained every point in details , great efforts
Superb🎉, thanks
Excellent
Thank you friend ! Nice job
Thank you too
you help me lot. thank you very much!
Glad to hear that!
thank you bhaiya hut need more complex video on this topic please upload like images upload payment gateway integration and relationship with table's and how to manage with sequelize please upload ❤
Great
thank you alot , nut what extension do you use because i cant see any support for express in vc
in 1:20:54, is it caused by the password validator actually validate the hashed password and not the actual password?
const sequelize = new Sequelize(config[env]); this code is not working for me,i clonned the project and i run all the neccessary dependencies
Can you create a custom designed product website using php and MySQL
At minute 20 in the video, if I use mysql do I need to install "mySql server" locally first? Because I get issues when I try to do it this way. @Technical Babaji
Make sure you have mysql database in local system then install their driver and you are all set for this video
Thank you so much Sir
Fantastic tutorial, covering industry best practices. I am runnign into one issue, however: When I run the migration after creating the `project` migration and model files, the sequelize cli gives me an error about SQL syntax
ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[] NOT NULL, `price` DECIMAL NOT NULL, `shortDescription` TEXT NOT NULL, `descri' at line 1
I have copied and pasted the code from the github as a sanity check and I am still getting this error.
I solved this, in case anyone has the same issue. It may have been due to my version mysql-server installed on my ubuntu server. The fix was to change the data type of any of the `arrays` to `json`
Hey sir, i have a large database table containing lets say 10 fields and 1,00,000 entries. Now i want to access those records based on certain query criteria from PostgreSQL database probably using sequalize or another method you know. Please Help. Make a video. You take your own example for the video like 10 field and 10000 or 1000 entries. Sir🙏🙏