#How to define base route?
1 messages · Page 1 of 1 (latest)
app.setGlobalPrefix('api')
In your main, where app is defined
See doc here: https://docs.nestjs.com/faq/global-prefix#global-prefix
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Progamming), FP (Functional Programming), and FRP (Functional Reactive Programming).