Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Application Setup

To setup the application, first install the dependencies:

$ cd nodejs
$ npm install

The application expects to find Redis at localhost on port 6379 with no password. These are the default values when installing Redis.

If your Redis server is located elsewhere and/or requires a password, set the value of the REDIS_URL environment variable to a valid Redis connection URL before starting the application. For example:

$ export REDIS_URL=redis://simon:sssssh@redis.mydomain.com:6390

Running the Application

Start the application as follows:

$ npm run dev

This uses nodemon which will restart the application for you automatically every time you make a code change.