• EJS 73.1%
  • JavaScript 22%
  • CSS 4.8%
  • Procfile 0.1%
Find a file
dependabot[bot] 63c6674c47
Bump brace-expansion (#411)
Bumps  and [brace-expansion](https://github.com/juliangruber/brace-expansion). These dependencies needed to be updated together.

Updates `brace-expansion` from 1.1.15 to 1.1.18
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.15...v1.1.18)

Updates `brace-expansion` from 2.1.1 to 2.1.4
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.15...v1.1.18)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.18
  dependency-type: indirect
- dependency-name: brace-expansion
  dependency-version: 2.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-11 10:41:59 -03:00
.github Fix GUSINFO metadata in CODEOWNERS (#395) 2026-03-23 16:52:07 -04:00
public new UI 2015-06-26 13:57:47 +01:00
views Rename repo as heroku/nodejs-getting-started (#368) 2025-07-29 16:32:52 -03:00
.env Add comment to .env (#309) 2024-01-18 13:00:55 -04:00
.gitignore Fixes tests to work with updated dependencies (#316) 2024-02-07 09:51:20 -04:00
app.json Rename repo as heroku/nodejs-getting-started (#368) 2025-07-29 16:32:52 -03:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md and SECURITY.md (#407) 2026-07-13 18:54:53 +01:00
index.js Add cleanup comment to SIGTERM handler (#403) 2026-06-05 17:18:00 -05:00
LICENSE Add LICENSE file (#409) 2026-07-14 17:48:44 +01:00
package-lock.json Bump brace-expansion (#411) 2026-08-11 10:41:59 -03:00
package.json Specify npm 12.x in engines to suppress version upgrade notices (#404) 2026-07-09 15:46:10 -03:00
Procfile Some general improvements to the getting started guide (#347) 2024-11-29 10:58:09 -04:00
README.md Fix missing renames from #368 (#369) 2025-07-31 16:31:04 -03:00
SECURITY.md Fix heading depth in SECURITY.md (#408) 2026-07-14 06:36:17 +01:00
test.js Some general improvements to the getting started guide (#347) 2024-11-29 10:58:09 -04:00

nodejs-getting-started

A barebones Node.js app using Express.

This application supports the tutorials for both the Cedar and Fir generations of the Heroku platform. You can check them out here:

Running Locally

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

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

Your app should now be running on localhost:5006.

Deploying to Heroku

Using resources for this example app counts towards your usage. Delete your app and database as soon as you are done experimenting to control costs.

Deploy on Cedar

By default, apps use Eco dynos on Cedar if you are subscribed to Eco. Otherwise, it defaults to Basic dynos. The Eco dynos plan is shared across all Eco dynos in your account and is recommended if you plan on deploying many small apps to Heroku. Learn more about our low-cost plans here.

Eligible students can apply for platform credits through our new Heroku for GitHub Students program.

$ heroku create
$ git push heroku main
$ heroku open

Deploy on Fir

By default, apps on Fir use 1X-Classic dynos. To create an app on Fir you'll need to create a private space first.

$ heroku spaces:create <space-name> --team <team-name> --generation fir
$ heroku create --space <space-name>
$ git push heroku main
$ heroku open

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles: