Skip to content

Node.js example app using express for the Gleis PaaS

Notifications You must be signed in to change notification settings

towards/nodejs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Node.js example app for Gleis PaaS

This is a simple Node.js example app made for the Gleis PaaS and which uses the Express web framework.

Prerequisites

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.

Try out sample app locally

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/

Deploy to Gleis

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.

About

Node.js example app using express for the Gleis PaaS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published