Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepeul1191/herokuts
heroku typescript express
https://github.com/pepeul1191/herokuts
Last synced: about 1 month ago
JSON representation
heroku typescript express
- Host: GitHub
- URL: https://github.com/pepeul1191/herokuts
- Owner: pepeul1191
- Created: 2020-01-13T23:48:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T02:17:14.000Z (about 2 years ago)
- Last Synced: 2023-05-17T10:27:20.027Z (over 1 year ago)
- Language: TypeScript
- Size: 229 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Typescript App on Heroku
========================This is a simple Node.js + Express application written in Typescript
that can be built and run on Heroku.## Deploy
To deploy this application simply create a new Heroku app```
heroku create
```and then just push the sources to Heroku
```
git push heroku master
```Heroku will download all necessary libraries and fire the web
process defined in [Procfile](Procfile) that will build and start
the application.## How this works
Typically you will add typescript as a devDependency to your package.json.
But this won't work on Heroku since those dependencies are not downloaded
(due to `NODE_ENV` being set to `production`).In order to go around this issue you just simply need to add typescript
as a regular dependency and build the project after each push.