The default Node.js app that will be pushed into the Swisscom Application cloud if no source code is provided. | Read-only mirror of https://github.com/swisscom/cf-default-app-nodejs — Swisscom. Issues & pull requests at the source.
  • Pug 88.1%
  • JavaScript 11.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-16 17:15:15 +02:00
src Change quotes to single 2018-08-31 19:25:49 +02:00
.cfignore ignore node_modules after running the app locally 2018-09-20 13:12:59 +02:00
.gitignore Migrate app to SDX 2017-06-08 15:02:09 +02:00
CODE_OF_CONDUCT.md Compliance bulk update. Add CODE_OF_CONDUCT.md 2024-10-16 17:15:15 +02:00
CONTRIBUTING.md Compliance bulk update. Add CONTRIBUTING.md 2024-10-16 17:15:14 +02:00
LICENSE Migrate app to SDX 2017-06-08 15:02:09 +02:00
manifest.yml Replaced deprecated buildpack property 2020-03-03 16:03:54 +01:00
package-lock.json Updated dependencies 2020-03-03 16:04:09 +01:00
package.json Updated dependencies 2020-03-03 16:04:09 +01:00
README.md Fix typo 2017-07-28 10:26:17 +02:00

CF Default App Node

The default Node.js app that will be pushed into the Swisscom Application Cloud if no source code is provided.

Based on Express.

Run locally

  1. Install Node.js and npm
  2. Run npm install
  3. Run npm start
  4. Visit http://localhost:3000

Run in the cloud

  1. Install the cf CLI
  2. Run cf push --random-route
  3. Visit the given URL

Create ZIP

  1. Run zip -r node.js_app.zip src package.json package-lock.json