using nest generate cli for create a new route code example Example: nest create module cli $ nest g module cats