This project demonstrates a simple Node.js web app that tracks the number of times a route has been hit using Redis, all running in Docker.
docker build -t redis-node-app .
docker network create mynet
docker run -d --name redis --network mynet redis
docker run -d --name myapp --network mynet -p 3000:3000 redis-node-app
curl http://localhost:3000/hit
docker rm -f myapp redis
docker network rm mynet
-
Node.js
-
Express
-
Redis
-
Docker
Built with ❤️ by dchak2023