Hello everyone,
like in react or next, we can specify the port of our application by provifing it in the command line, like thins :
yarn start -p 3001 (the default port is 3000)
I ask how to can do it with nestjs. how can I read the port from the user and put it at app.listen(READED_PORT). or other mechanism for starting the application in different ports witout changing the .env file or PORT config ?
I hope that my question is clear !
Kind regards 😀