Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
apps/api-gateway/src/app.service.ts · EventFlow: NestJS Microservices | Codewise
EventFlow: NestJS Microservices
nestjs-microservices
/
apps
/
api-gateway
/
src
/
app.service.ts
app.service.ts
9 lines, 236 B
Raw
1
import
{ SERVICES_PORTS }
from
'@app/common'
;
2
import
{ Injectable }
from
'@nestjs/common'
;
3
4
@
Injectable
()
5
export
class
AppService
{
6
getHello
()
:
string
{
7
return
`API Gateway is running on port ${
SERVICES_PORTS
.
API_GATEWAY
}`
;
8
}
9
}