O'Reilly logo

Nest.js: A Progressive Node.js Framework by David Guijarro, Adrien de Peretti, Patrick Housley, Greg Magolan, Jay Bell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Architecture

As you now know, Nest.js is based on the same principles as Angular, so it is a good idea to have a similar structure as Angular’s.

Before going into the file structure, we will see some guidelines about the naming and about how to structure our different directories and files in order to have an easy and more readable project.

We will take a look at the architecture for two different type of projects:

  • A server application
  • A more complete app using Angular universal with Nest.js and Angular 6

By the end of the chapter, you should know how to structure your app either for a server application or a complete app with a client front-end.

Style guide of naming conventions

In this part, we will see the naming conventions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required