Jabbah is a simple project that demonstrates the use of Amazon MemoryDB for Redis.
Amazon MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. MemoryDB is compatible with Redis 5.0.6, enabling you to migrate your highest-performance workloads to the cloud with minimal effort.
Before you begin, ensure you have the following installed:
You also need an Amazon MemoryDB for Redis account.
This project uses the following environment variables:
ENVIRONMENT
: The current environment. Can bedevelopment
orproduction
. Defaults todevelopment
if not set.
-
Clone the repository:
git clone the_repository_name
-
Set your AWS credentials. See the AWS documentation for more information.
-
Run Redis in a Docker container:
docker-compose up -d
-
Run the application:
go run main.go