Start on Heroku: TypeScript

by heroku

GitHub Readme.md

typescript-getting-started

A barebones TypeScript app using Express 4.

Running Locally

Make sure you have Node.js and the Heroku CLI installed.

$ git clone https://github.com/heroku/typescript-getting-started.git # or clone your own fork
$ cd typescript-getting-started
$ npm install
$ npm run build
$ npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku main
$ heroku open

or

Deploy to Heroku

Documentation

For more information about using TypeScript on Heroku, see these Dev Center articles: