모든 route에 api 나 v1같은 prefix를 붙이기 위해서는 Global prefix를 사용한다.
api
v1
const app = await NestFactory.create(AppModule); app.setGlobalPrefix('api');