This example showcases how to serve up a static web page using the express
server.
-
Open
server.js
and start the app by clicking on the "Run" button in the top menu. -
Alternatively you can launch the app from the Terminal:
$ node server.js
Once the server is running, open the project in the shape of 'https://projectname-username.c9users.io/'. Visiting that site should render index.html.