Skip to content

ronakkaria/TC-redis-manager

 
 

Repository files navigation

Redis manager

This project was generated with Angular CLI version 6.1.4.

Dependencies

  • Node 8.11.x , npm 5.6.x
  • redis 4.x

Redis

  • follow here https://redis.io/download download and compile redis server or follow this commands

    $ wget http://download.redis.io/releases/redis-4.0.11.tar.gz
    $ tar xzf redis-4.0.11.tar.gz
    $ cd redis-4.0.11
    $ make
    
  • start up redis server cd src ./redis-server

  • load sample data into redis server, cd src, then run this cat <submission-folder>/simple-data-txt.txt | ./redis-cli --pipe import simple data.

Local run

  • goto submission folder, run npm i first
  • just run npm run start, and use browsers open http://127.0.0.1:3003

Configs

Key default Description
config/default.js PORT 3003 the web app run port
config/default.js API_VERSION api/1.0 the backend endpoint prefix
config/default.js LOG_LEVEL Debug the backend log level
src/environments/environments.ts URI /backend/api/1.0 the backend uri used in frontend

Additional document

  • Frontend

  • Backend

  • Commands

    • what commands are included ?

      INFO,GET,SET,RPUSH,SADD,ZADD,HMSET,LRANGE,ZRANGE,SMEMBERS,HGETALL,LLEN, SCARD, ZCARD,HLEN,SREM,ZREM,HSET,HMSET,HDEL

  • what commands should be added next?

    • Other commands may need according to functions.

    • which commands are dependent on one another?

      a web app function dependent a lot of command, so, in fact, there is no command dependent on one another command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.0%
  • HTML 17.6%
  • JavaScript 13.9%
  • CSS 6.5%