Build Scalable REST APIs in Node.js with Express, Postgres & SequelizeORM (2-Hour Masterclass)

Sdílet
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! 🔥

Komentáře • 23

  • @ketanmoridhara4980
    @ketanmoridhara4980 Před 2 dny

    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

  • @typemaster2012
    @typemaster2012 Před 3 měsíci +2

    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!

  • @arvindsuriya6342
    @arvindsuriya6342 Před 5 dny

    Great Video! Please post more contents. 👏

  • @TheEmmanuelN
    @TheEmmanuelN Před 2 měsíci +2

    Thank very much for this video Sir. Please do more videos on PERM - (Postgres, Express, React & Node)

  • @user-hj1kx6ev3w
    @user-hj1kx6ev3w Před 3 měsíci

    nice video , explained every point in details , great efforts

  • @chandanchyawanprashwala
    @chandanchyawanprashwala Před 4 měsíci +1

    Superb🎉, thanks

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 Před 4 měsíci +1

    Excellent

  • @diegofirmianodarocha9849
    @diegofirmianodarocha9849 Před měsícem

    Thank you friend ! Nice job

  • @mohiburrahman5639
    @mohiburrahman5639 Před měsícem

    you help me lot. thank you very much!

  • @abhishekmishra9841
    @abhishekmishra9841 Před 4 měsíci +2

    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 ❤

  • @bottirish
    @bottirish Před 3 měsíci +1

    Great

  • @ahmedabuteir3019
    @ahmedabuteir3019 Před 17 dny

    thank you alot , nut what extension do you use because i cant see any support for express in vc

  • @rebiesjr7247
    @rebiesjr7247 Před 3 měsíci +1

    in 1:20:54, is it caused by the password validator actually validate the hashed password and not the actual password?

  • @SarathkumarNatarajanTCS

    const sequelize = new Sequelize(config[env]); this code is not working for me,i clonned the project and i run all the neccessary dependencies

  • @Nature-zb7li
    @Nature-zb7li Před 2 měsíci

    Can you create a custom designed product website using php and MySQL

  • @ByteM4ster
    @ByteM4ster Před 3 měsíci

    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

    • @TechnicalBabaji1
      @TechnicalBabaji1  Před 3 měsíci

      Make sure you have mysql database in local system then install their driver and you are all set for this video

  • @jassemtoumi8748
    @jassemtoumi8748 Před 2 měsíci

    Thank you so much Sir

  • @rshelfo1
    @rshelfo1 Před 2 měsíci

    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.

    • @rshelfo1
      @rshelfo1 Před 2 měsíci

      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`

  • @insearchof9090
    @insearchof9090 Před měsícem

    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🙏🙏