https://github.com/redislabs/memcachedcloud-node-sample
Memcached Cloud on Express Sample
https://github.com/redislabs/memcachedcloud-node-sample
Last synced: 12 months ago
JSON representation
Memcached Cloud on Express Sample
- Host: GitHub
- URL: https://github.com/redislabs/memcachedcloud-node-sample
- Owner: RedisLabs
- License: gpl-3.0
- Created: 2014-08-20T08:45:03.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-19T16:07:00.000Z (almost 11 years ago)
- Last Synced: 2025-06-16T13:04:52.170Z (about 1 year ago)
- Language: HTML
- Size: 148 KB
- Stars: 2
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Memcached Cloud Node.js Sample
A Node.js sample, running on Express framework, demonstrating how [Memcached](http://memcached.org/) can be used at Heroku.
SET, GET and DELETE a key, and get your bucket's STATS.
The app is currently running at: [memcachedcloud-node-sample.herokuapp.com](http://memcachedcloud-node-sample.herokuapp.com), and uses [Memcached Cloud](https://addons.heroku.com/memcachedcloud) as a backend.
## Deploy to Heroku
Instantly deploy it to Heroku:
[](https://heroku.com/deploy?template=https://github.com/RedisLabs/memcachedcloud-node-sample)
## Docker
The app can be run and tested using the [Heroku Docker CLI plugin](https://devcenter.heroku.com/articles/introduction-local-development-with-docker).
Make sure the plugin is installed:
heroku plugins:install heroku-docker
Configure Docker and Docker Compose:
heroku docker:init
And run the app locally:
docker-compose up web
The app will now be available on the Docker daemon IP on port 8080.
You can also use Docker to release to Heroku:
heroku create
heroku docker:release
heroku open