Skip to content

TimothySealy/cac-simple-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Web App

This is a simple web application implemented in ExpressJS that displays the hostname of the server and the current time.

Prerequisites

The server running the application should have NodeJS (8.x) installed. Read here how to install NodeJS on Ubuntu.

How to install

Clone this repository to the server:

 $ git clone https://github.com/TimothySealy/cac-simple-webapp.git
 $ cd cac-simple-webapp

Install dependencies (once) and then run the application:

 $ npm install
 $ npm run start

Environment variables

The web application runs on port 3000 by default. The port can be changed using the PORT environment variable. For example:

 $ export PORT=80

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published