Coder Social home page Coder Social logo

tanmayvaij / flask-redis-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23 KB

This repo 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

Python 75.56% Dockerfile 24.44%
docker docker-compose docker-container docker-image dockerfile flask flask-server redis

flask-redis-app's Introduction

Flask Redis Docker App

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.

Features

  • 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.

Prerequisites

Make sure you have the following installed:

Setup Instructions

1. Clone the Repository

Clone this repository to your local machine:

git clone https://github.com/tanmayvaij/flask-redis-app.git
cd flask-redis-app

2. Build and Start the Containers

Use Docker Compose to build and launch the containers:

docker-compose up --build

3. Access the Application

Once the containers are running, the Flask app will be available at http://localhost:5000.

Stopping the Application

To stop the containers, press Ctrl + C or run:

docker-compose down

Learning Resources

flask-redis-app's People

Contributors

tanmayvaij avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.