From the course: Nest.js Developer Lab 2026: Build a Robust API with Authentication, Articles, and User Profiles

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Creating article module

Creating article module

In this video we will start a new section of our project, because we fully finished our authentication module. And our new section is article. Actually we have a lot of stuff to do regarding article. We can create article, update article, delete article, like, dislike articles and so on. So there is a lot of stuff to implement. But in this video we need to create our basic module and service for our new module. This is why let's jump inside our editor and create here in source a new folder where we will store our article. So here is our folder article, this is our new module and all logic regarding our article we will pack here. And first of all we must create article module.ts. If you don't remember how to create modules or controllers, you can look in our old code or for example user or tag. So, first of all, here we must export our new class, this is ArticleModule. And here on the top we need our module. Sorry, not ng, but just a module. And here inside we must provide our…

Contents