This is a simple Node.js example app made for the Gleis PaaS and which uses the Express web framework.
In order to run this sample app locally you will need Node.js to be installed on your computer and an account on the Gleis PaaS as well as the Gleis Ruby gem to be able to deploy it.
Download your own copy of this sample app:
$ git clone [email protected]:towards/nodejs-example.git
$ cd nodejs-example
Install dependencies:
$ npm install
Start app:
$ npm start
The sample app should now be reachable locally at http://localhost:5000/
Create new app on Gleis:
$ gleis app create
Upload app to Gleis:
$ git push gleis master
The sample app will be online in a few seconds and reachable through the secure URL mentioned when you created the Gleis app with the above command.