Ensure you have npm and git installed.
git clone
the repository.
Navigate to the /app directory.
Install the packages via:
npm install
Build webpack via:
npm run make
Ensure you have redis installed; and launch redis-server
on port 6379
Local env variable is required. Need to set Redis
, e.g. export REDIS="redis://localhost:6379"
Express server launched via:
npm run server
The solution can be run via the docker implementation.
Steps:
Install docker and docker-compose.
Run docker-compose build
in root directory.
Run docker-compose up
to launch the solution
The tests currently added have a number that will fail without redis-server started. Before running test, please ensure redis-server is running.
To test run: npm run test