nahkar
8/8/2018 - 10:42 AM

nest

@Controller('root') //путь localhost:300/root

@Get('hello') // localhost:3000/root/hello
  root(): string {
    return this.appService.root();
  }
  
nest g module share // geberate share module

nest g service configuration shared/configuration //generation service