/node_redis_crud

SIMPLE CRUD RESTFUL API USING NODE.JS, EXPRESS AND REDIS

Primary LanguageJavaScript

SIMPLE CRUD RESTFUL API USING NODE.JS, EXPRESS AND REDIS

Getting Started

  • Clone this repo
git clone https://github.com/samuelayo/node_redis_crud.git

  • change directory into the newly cloned repo
cd node_redis_crud
  • Install required node.js libraries
npm install
  • Update .env file to contain correct redis host and port for configuration
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
APP_PORT=8090
  • Run tests
npm run test
  • serve the application
node index.js 
  • Visit the docs to see what end points are available
  • The documentation is available in /docs/index.html