Best Flask open-source libraries and packages

Flask cache app

A simple mini-project shows the implementation of caching in Flask/Python.
Updated 7 months ago

Flask Cache App

This flask-mini project demonstrates working with caching functionality using flask-caching extension in Python.

Prerequisites

Before you can run this Flask application, make sure you have the following prerequisites installed on your system:

Installing & Set up Locally

Follow these steps to set up the project locally:

1. Clone the git repository.

git clone https://github.com/anuraagnagar/flask-cache-app.git

2. Change the directory.

cd flask-cache-app

3. Create and Activate the Virtual Environment.

On Windows

python -m venv venv
venv\Scripts\activate

On Mac/Linux

python3 -m venv venv
source venv/bin/activate

4. Install dependency packages.

pip install -r requirements.txt

5. Start the server.

python app.py

Open a web browser in your machine and navigating to http://127.0.0.0:5000.

Tags cache