NestJS · Junior · Question 43 of 75

Where should business logic live in a Nest app?

Explanation

Services can be reused by several controllers, scheduled jobs or message handlers, and are easy to unit test.

Further reading

Problem with a question

NestJS · Junior · question 43

Test yourself

Take the NestJS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz