5 Node.js/Express Tutorials to Go From Beginner to Expert

Get better at Node and Express

Catalin's Tech
Better Programming

--

Code
Photo by Pankaj Patel on Unsplash.

I mainly build the back end of my applications using Node.js and Express. As a result, I have done a lot of courses on this topic. In this article, I want to present to you my favorite courses to learn Node and Express.

They vary in difficulty. Also, each course has its particularities. For instance, some teach you sessions and some do not. Therefore, they complement each other, even though there is some overlap between them.

With that said, remember that nothing helps you more than building projects yourself. Follow the courses and then put what you learned to use! Also, it’s important to note that the courses are in no particular order. Without further ado, let’s jump in.

1. Mozilla MDN Node.js/Express Tutorial

Screenshot of LocalLibrary

Mozilla MDN is an excellent website with many tutorials, including a tutorial on Node and Express. In the tutorial, you learn the concepts by building an online library. The application allows users to add books, authors, and genres. It also shows which books are written by each author and what genre they belong to.

So what do you learn in this tutorial? You learn:

  • About Node and Express — what they are, how they work, and what their benefits are.
  • How to set up a Node (Express) development environment.
  • How to perform CRUD operations.
  • How to create relationships between data (e.g. authors and books).
  • The MVC pattern — controllers, views, models, routes.
  • How to use MongoDB and Mongoose with Node and Express.
  • To create a front end for your application using Pug.
  • How to deploy your application to production.

Do not be fooled by the simplistic look of the application because the tutorial is not a design/front-end tutorial. The tutorial provides a lot of invaluable information on building a back-end application that is ready to deploy to production.

The verdict? I highly recommend the tutorial, and you can check it on the MDN’s website.

2. freeCodeCamp Tutorial

freeCodeCamp logo
Photo by Raisedadead / CC BY-SA 4.0.

Another excellent tutorial on Node and Express is the tutorial from freeCodeCamp. Similarly to Mozilla MDN, the tutorial takes you from no knowledge on the subject to advanced concepts like authentication. Besides that, you are going to build multiple applications — not just one. Thus, there are lots of opportunities to practice what you learn.

Let’s see some of the things you learn by following freeCodeCamp’s curriculum:

  • Introduction to Node and Express.
  • Learn how to serve HTML files and static assets (images, CSS, JavaScript, and others).
  • Implement middlewares.
  • Learn about query/route parameters.
  • Get and parse data from POST requests.
  • Use MongoDB and Mongoose to store data in a database and manipulate it.
  • Set up authentication and authorization with Passport.
  • Implement CRUD operations.

I extracted the most important topics, but the curriculum covers a lot more. freeCodeCamp is a great way to get up and running with Node and Express. You would need to complete the material with other resources for advanced concepts and best practices, though.

To conclude, freeCodeCamp is one of the best resources because you do not have to set up your environment. That means you can focus just on coding and not other things. Besides that, the information is valuable and you can learn a lot of stuff for free.

3. The Complete Node.js Developer by Andrew Mead

Screenshot of course preview

This course is one of the best to introduce you to the world of Node and Express. During this course, you build four web applications. Each application has a purpose and teaches you a handful of concepts. Thus, you learn a lot by building those four projects.

Some of the concepts you learn in this course are:

  • Learning about Node.js Package Manager (NPM).
  • Designing a REST API.
  • Version control with Git.
  • Uploading files and images.
  • Sending emails.
  • You also learn about ES6 and ES7.
  • How to authenticate users with JWT (JSON Web Token).
  • Testing with Jest.
  • Debugging with VS Code and Google Chrome.

As usual, I highlighted the most important concepts you learn in the course. However, there are more concepts you learn. The course is well-thought-out and you can use it to start with Node and Express or to fill gaps you have in your knowledge. The reason this course stands out is that the instructor goes into great detail about each concept. The explanations are not rushed, which makes it easier to follow along and learn better.

Do I recommend the course? Yes, I did the course twice and cannot recommend it enough. The course is suitable whether you are a beginner or an intermediate developer.

4. Learn Node by Wes Bos

Course page

The best-looking application you are going to build is from Wes Bos’s course. The design of the application is catchy, beautiful, and professional.

However, I want to mention that I had trouble following the course in the beginning when I had no Node knowledge. I had to postpone it and follow another course to learn the basics. The course feels advanced, and there are other courses more suited for complete beginners. Keep in mind that this is simply my experience, and it might not apply to you.

Now let’s see what this course covers:

  • How to implement CRUD operations.
  • How to implement REST API points.
  • How to use the MVC pattern for your application.
  • How to add routing and pagination.
  • How to implement file uploading.
  • How to set up a templating engine like Pug.
  • How to deploy to production on various providers.
  • How to send emails to users.
  • Storing data in a MongoDB database and manipulating that data.
  • How to implement authentication and authorization.

As with the other courses, these are just some of the topics. The course covers a lot more topics that you can find on Learn Node.

Do I recommend the course? Yes. It’s a great course in which you learn a ton of concepts by building a real-world application. The only downside might be that it’s a paid course. Otherwise, it’s an all-around great course.

5. NodeJS — The Complete Guide by Maximilian Schwarzmüller

Course preview

This Node course is a little bit different in the sense that it covers more topics than just Node and Express. Even though the focus is on these two technologies, you learn others too. For instance, it teaches TypeScript and Deno, which is a bonus. You get more than you paid for.

Besides the usual Node and Express concepts you learn, which are taught in the other courses too, you also learn:

  • Vanilla JavaScript and ES6 concepts.
  • To use SQL with Node and Express.
  • Advanced authentication and testing.
  • What GraphQL is and how to use it.
  • How to add Stripe payments.

As usual, these are not the only subjects. However, these are the concepts that differentiate the course from other courses. You get all the regular information about Node and Express, plus these other concepts and technologies.

The verdict? The course is worth its money. It goes well beyond Node and Express, and it teaches you other cool and useful concepts and technologies. You can check the course on Udemy.

Conclusion

These are the top five Node/Express courses I recommend. They can take you from no knowledge to an advanced level. Of course, I have to mention that these are not the only ones. Also, they are the top five based on my experience.

I recommend all courses from this article because you cannot go wrong with any of them. However, if you have more suggestions, feel free to leave them in the comments. I would like to see more good courses.

If you are interested in JavaScript tutorials, I recommend Frontend Masters!

If you want to make money with technical writing, check websites that pay you to write technical articles!

If you want to learn JavaScript, I recommend these 5 resources to learn JavaScript as a beginner!

Negotiating your salary is essential — learn how to negotiate your salary as a developer!

Speed up your development with Git Aliases.

If you want to start a blog as a developer, I recommend reading the article “how to start your blog as a developer”!

Do you struggle to stay up-to-date with all news in tech? See one way to stay up to date as a developer!

Learn how to use Async/Await in JavaScript!

GitHub profiles are all the rage at the moment. Learn how to create a GitHub profile page!

Check these 7 resources to help you pass your job interviews!

See the new features coming in JavaScript ECMAScript 2021 ES2021!

Are you a beginner programmer? Check these programming project ideas for beginners!

Are you learning to code or do you plan to do it? Check the best places to learn programming for FREE!

Increase your developer productivity with these 9 browser extensions!

If you are a Node.js developer, I advise you to check these 4 creational design patterns in Node.js!

Check these amazing JavaScript ECMAScript 2020 features!

--

--

All about software engineering, developer health, resources and content creation