Skip to content
Simple HTTP Rest example using express
JavaScript HTML CSS
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nodeshift chore: updates required for new nodeshift Apr 15, 2019
.openshiftio chore(release): 3.0.0 May 29, 2019
bin fix: use the main prop for the application entry point. Apr 23, 2018
licenses chore: dependency update Aug 21, 2019
public chore: rename missions to examples Apr 15, 2019
test feat: start using node.js 10. (#102) Apr 27, 2018
.gitignore adding the nodeshift plugin for openshift deployment May 23, 2017
.travis.yml chore: update travis to only run unit tests (#116) Sep 17, 2018
Jenkinsfile wrong deploy command Jul 14, 2017
LICENSE fix(license): wrong license text Aug 10, 2017 doc: instructions about how to run the example Jul 16, 2019
app.js chore(lint): moving to xo for linting. fixes #94 (#96) Apr 26, 2018
package-lock.json chore: dependency update Aug 21, 2019
package.json chore: dependency update Aug 21, 2019
release.js chore(package): Application yaml updates (#124) Feb 12, 2019
runner.js chore: fix typo Jul 9, 2019

Build Status Coverage Status Greenkeeper badge

Running The Example

You can run this example as node processes on your localhost, as pods on a local minishift installation.


To run the basic application on your local machine, just run the commands bellow:

$ npm install
$ npm start

If you want debug information, you can set DEBUG environment variable and start the application:

$ DEBUG=* npm start

This will launch the application on port 8080.


Minishift should be started, and you should be logged in with a currently active project. Then run the npm run openshift command.

$ minishift start # You may have some options here, e.g. --memory=8096 --vm-driver=virtualbox
$ oc login -u developer # Login
$ oc new-project my-example-project # Create a project to deploy to
$ npm run openshift # Deploys the example app
You can’t perform that action at this time.