Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.59 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.59 KB

@turbasen/db-redis

Build status Codacy grade Codacy coverage NPM downloads NPM version Node version Dependency status

Internal Redis wrapper for Nasjonal Turbase API.

Getting started

Download Docker for Mac or Windows.

Run in this directory:

$ docker-compose up

Docker is now watching for changes and will run the test suite automatically.

Usage

Connects automatically to Redis using the following configurations:

  • REDIS_PORT_6379_TCP_ADDR and REDIS_PORT_6379_TCP_PORT
  • Default to redis and 6379
const redis = require('redis');