MemCachier Node.js Example App
For safety we don't use any user input for the file name, instead using a SHA1 digest to name the file and writing metadata about the file and submission to a log. This is an example Node.js app that uses MemCachier to cache values. This example is written with Node.js and the express framework.
You can view a working version of this app here. Running this app on your local machine in development will work as well, although then you won't be using MemCachier -- you'll be using a local dummy cache. MemCachier is currently only available with various cloud providers.
Setting up MemCachier to work in Node is very easy.
Deploy to Heroku
You can deploy this app yourself to Heroku to play with.
npm install cp prod.env .env foreman start
This library is BSD-licensed.
We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.
Please report bugs via the github issue tracker.
Master git repository:
git clone git://github.com/memcachier/examples-node.git