mirror of
https://github.com/swisscom/cf-default-app-nodejs.git
synced 2026-12-04 14:08:40 +00:00
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%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .cfignore | ||
| .gitignore | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| manifest.yml | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
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
- Install Node.js and npm
- Run
npm install - Run
npm start - Visit http://localhost:3000
Run in the cloud
- Install the cf CLI
- Run
cf push --random-route - Visit the given URL
Create ZIP
- Run
zip -r node.js_app.zip src package.json package-lock.json