Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 827 Bytes

File metadata and controls

26 lines (17 loc) · 827 Bytes

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:[email protected]: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.