Udemy

Node.js: Building an advanced MVC-like project architecture

Enroll Now
  • 133 Students
  • Updated 9/2021
4.5
(16 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
6 Hour(s) 40 Minute(s)
Language
English
Taught by
Dino Numić
Rating
4.5
(16 Ratings)
3 views

Course Overview

Node.js: Building an advanced MVC-like project architecture

Learn how to develop a custom MVC-like Node app structure for more complex projects.

By enrolling and finishing this course you will learn more about structuring and organizing your Node application. Throughout the course, we will be building a custom MVC-like structure and adding various coding patterns along the way.

This course is aimed at students who have at least some experience with Node or have built applications with other backend languages as we are not covering any of the programming or Node-related basics.

You can pick some other Node beginner course and then come back later here to learn some more advanced architectural approaches.


Here are, summarized, some of the things you will learn throughout this course.


  1. Custom server and router class

    • You will learn how to create a custom and configurable server and router class that will bootstrap all of the code dependencies necessary to run your application.

    • We will create a schema-based routing system for easy management of app routes.


  2. Models, Controllers, Repositories, Services

    • We will start working on our MVC pattern and try to logically separate code responsibilities within our application.

    • We will take a look at how repositories and services can be utilized to outsource some of our SQL and business logic.


  3. Middleware and Validation

    • You will learn how to create middleware and limit some of your routes to only auth users.

    • We will also take a look at how to perform form validation when users are submitting data.

    • We will implement custom file parsing when users are uploading documents with form data.


  4. Sending emails

    • We will implement a custom and configurable mailer module.


  5. Scheduled functions CRON

    • We will take a look at how to create a scheduler that will execute some tasks based on predefined time intervals.


  6. Logger

    • Logging is very important for looking at the state of your running application. That is why we will create a custom logger and expose some API to get application-level logs.

  1. Implementing WebSockets

    • We will implement WebSockets into our app to facilitate real-time operations.

Course Content

  • 10 section(s)
  • 58 lecture(s)
  • Section 1 Installing and configuring Node
  • Section 2 Creating a server and router
  • Section 3 Database, sequelize, and user model
  • Section 4 Authentication, exceptions, repositories, and services
  • Section 5 Repositories, services
  • Section 6 Middleware
  • Section 7 Validation
  • Section 8 Sending emails and rendering views
  • Section 9 Scheduler and Logger
  • Section 10 Adding missing parts and leftovers

What You’ll Learn

  • Architect Node application in a more modular way
  • Create a custom MVC-like structure
  • Code separation philosophy
  • Code maintainability


Reviews

  • K
    Karl Model
    5.0

    With a pleasant voice, the instructor demonstrates essential concepts clearly and efficiently. A valuable crash course.

  • M
    Michele Carmagnani
    5.0

    Clear and simple in the explanation.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed