Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 791 Bytes

README.md

File metadata and controls

53 lines (32 loc) · 791 Bytes

NODE EXPRESS CACHING FETCHED DATA with REDIS

Description:

This code is a demo on caching data with Redis to lower latency and speed up load time

Packages installed:

* Express

* node-fetch

* redis

* nodemon

Development Server:

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 ]