flash-cache-server Express.js
157
Flash-cache-server is a simple API that allows testing Redis cache. This is backend code that can be used in any frontend project for more visual testing. The API consumes other API's that allow the http GET method for getting data and manipulating that. Sometimes those responses are very slow on our local servers, and here is the entry for Redis to save this data from the API, and then for future requests, the response will be more fast with Redis.
Start:
$ docker container run \
--name flash-cache-server \
-dp 3000:3000 \
--env REDIS_HOST=redis \
--env REDIS_PORT=6379 \
ivansanmartins/flash-cache-server:teddy
Example:
docker-compose.yaml
version: '3'
services:
redis:
container_name: redis
image: redis:bookworm
ports:
- "6379:6379"
server:
container_name: flash-cache-server
depends_on:
- redis
image: ivansanmartins/flash-cache-server:teddy
ports:
- "3000:3000"
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
restart: always
Content type
Image
Digest
sha256:d3b132959…
Size
52.9 MB
Last updated
over 2 years ago
docker pull ivansanmartins/flash-cache-server