Simple HTTP server example to demonstrate connecting to Google Cloud Memorystore. This sample uses the node_redis client.
Follow the instructions in this guide to deploy the sample application on a GCE VM.
Follow the instructions in this guide to deploy the sample application on GKE.
Follow the instructions in this guide to deploy the sample application on GAE Flex.
To run this sample locally, follow these instructions:
In one terminal, run Redis:
redis-server
In another terminal, run the Node application:
node server.js
Visit the following localhost
URL to test your server that connects to Redis and observe a persistant "Visitor number".