To run development server use following command

npm run dev

To run production server use following commands

First compile your typescript code into javascript

npm run build

then start server

npm run start