if you are in local development you can run this cmd
npm run dev
npm run prod
npm run start
it will run node in env depend on terminal env session you haveNODE_ENV="production" npm start
andNODE_ENV="development" npm start
if you want to specifi or inject env and then run withnpm start
ornpm run start
you can run this exm using Docker in two ways
./up-dirty.sh
for development env./up-dirty.sh -prod
for production env
you can try this by go to localhost:3000
or 127.0.0.1:3000
depend on your host, you will get the result like this
Hello World
I'm running on [development] environment