To start the server with nodemon (automatically restarting the server
when a source file changes), call npm run start-dev
which in turn
will call npm nodemon src/main.ts
.
To start without nodemon, call npm start
, which in turn will call
npx ts-node src/main.ts
.
Set NODE_CONFIG
or NODE_CONFIG_DIR
and NODE_ENV
to pick up the
configuration.