title: Deploy node.js / express / mongoDB ( with typescript ) in heroku
body: <p>Before, in the backend i would not use typescript, i would just use pure javascript, but know, this is my first backend app with typescript.</p>
  <p>I want to deploy of course this app to heroku, but, i wonder if in the procfile component i have to tell heroku to get the server running in the server.ts, or in the server.js in the dist folder.</p>
  <p>What i'm trying to say, is that, should i compile my code to translate it into pure javascript in the dist folder in order to deplot, or is it okay just to just run the server in the server.ts file ?</p>
  <p>This is how my project looks like</p>
  <p><a href="https://i.stack.imgur.com/A3Zbu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A3Zbu.png" alt="enter image description here" /></a></p>