This repository is created for learning and proof-of-concept (POC) purposes. It demonstrates how to build a simple Flask application integrated with Redis, using Docker to containerize the entire setup. The project helps you understand how Flask interacts with Redis for caching and session management in a fully isolated development environment.
- Flask Framework: A minimalistic web framework for building applications.
- Redis Integration: In-memory data storage used for caching and session management.
- Dockerized Setup: Simplifies development by containerizing both Flask and Redis services.
Make sure you have the following installed:
Clone this repository to your local machine:
git clone https://github.com/tanmayvaij/flask-redis-app.git
cd flask-redis-app
Use Docker Compose to build and launch the containers:
docker-compose up --build
Once the containers are running, the Flask app will be available at http://localhost:5000
.
To stop the containers, press Ctrl + C
or run:
docker-compose down