Skip to content

stackhero-io/memcachedGettingStarted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memcached getting started

How to send data from Node.js to Memcached

You can find here some examples of Node.js code to send data to a Memcached server.

These examples are designed to run with a Stackhero Memcached service. You'll more informations about Stackhero here:

How to use

  • First, clone this repository: git clone https://github.com/stackhero-io/memcachedGettingStarted.git && cd memcachedGettingStarted
  • Then, install nodes packages: npm install
  • Copy the file .env-example to .env and fill it with your credentials
  • Finally, start the first example: node gettingStarted.js

This example use the MemJS library. You will find documentation on the official Github repository