Giter Club home page Giter Club logo

redis-tasks's Introduction

redis-app

Docker setup

The geo spatial operations are not supported on the version of redis created for Windows here. An alternative to Redis on Windows is to host on Docker. Docker container setup

Description

Node.js Application to use list, hash and geo spatial operations of redis

Install/Configure application

1. Start a command window
2. Create a directory C:\apps
mkdir c:\apps
cd c:\apps
3. Clone the repo
git clone https://github.com/Majestic3691/redis-tasks
4. Atom setup

Install Atom - Atom

Change directory to the root folder and run npm install in a command window

cd c:\apps\redis-tasks
npm install
5. Change the directory to where the repo was cloned - C:\apps\redis-tasks
cd c:\apps\redis-tasks
6. Modify the config.js to reflect the proper IP for the docker container and password if the redis installation is secured with a password.
7. Execute nodemon
z:\>nodemon
[nodemon] 1.14.12
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node app.js`
Server Started at Thu Feb 15 2018 14:34:07 GMT-0600 (Central Standard Time) on Port 3000...
Redis Server Connected at 192.168.1.187:6379...
Authentication was passed to the Redis Server, response was: OK
Redis Server was pinged, response was: PONG
8. Start your favorite browser and enter the URL - http://localhost:3000/
9. Try out all three sets of operations...enjoy.

Technology used

  1. Node.js
  2. Pug
  3. ejs
  4. nodemon
  5. Docker
  6. Redis
  7. Twitter Bootstrap
  8. Express

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.