This code is a demo on caching data with Redis to lower latency and speed up load time
* Express
* node-fetch
* redis
* nodemon
First, download redis-cli (for LINUX)
sudo add-apt-repository ppa:redislabs/redis
sudo apt-get update
sudo apt-get install redis
Then, clone this repo
git clone https://github.com/adazol123/node-redis-cache-dev.git "app-name-here"
Install the packages (using NPM)
npm install
Run server (using NPM)
npm run dev
Local server (Browser)
http://localhost:4000/crypto/[ insert_coin_name_here ]