-
During development, we use both
npm run watch-ts
(recompiles application on source changes) andnpm run watch
(restarts application on recompilation) -
npm run tsc
only compiles the application -
npm run serve
(npm run start) only starts the application
- If we cant import just installed npm package try installing its @types library before
- express-validator - Request validation methods
- dotenv - Import config file into the process.env (environment variables)