Best of FlaskApril 2025

  1. 1
    Article
    Avatar of testdrivenTestDriven.io·1y

    Building a Real-time Dashboard with Flask and Svelte

    Learn to build a real-time analytics dashboard using Flask for the backend and Svelte for the frontend. The tutorial covers setting up a Flask backend with server-sent events (SSE) for real-time data streaming, creating a Svelte application using SvelteKit, and implementing interactive charts and graphs. Additionally, it includes handling real-time data updates and adding configurable alert thresholds for monitoring sensor data.

  2. 2
    Article
    Avatar of nickjanetakisNick Janetakis·1y

    Shrink Your Docker Images by ~50% with Multi-Stage Builds — Nick Janetakis

    Learn how to significantly reduce the size of Docker images using multi-stage builds. The post provides examples for Flask, Django, Rails, Node, and Phoenix, explaining the process of splitting build time and run-time dependencies. By organizing multi-stage builds, you can create more efficient, smaller, and maintainable Docker images.