This repository is part of BCC's internal workshop (or community service) focused on implementing server-side caching using Redis. Your task is to modify the service layer so that it no longer accesses the repository (database) directly. Instead, integrate Redis caching to optimize performance.
Copy the example environment file and modify it as needed.
cp .env.example .env
nano .env # or your favourite text editorStart the app using Docker. By default, it will run on port 3000 (or the port you specify in .env).
docker compose up --build -dIf you make any modifications to the code, especially related to the cache logic, restart the app.
docker compose down
docker compose up --build -d