[PR #595] Adding React-Flask-MySQL-Nginx snippet to awesome-compose #587

Open
opened 2025-11-06 14:29:22 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/595
Author: @DEVANSH-GAJJAR
Created: 8/19/2025
Status: 🔄 Open

Base: masterHead: add-react-flask-mysql-nginx


📝 Commits (1)

  • b365555 Adding React-Flask-MySQL-Nginx snippet to awesome-compose

📊 Changes

30 files changed (+3890 additions, -0 deletions)

View changed files

React-flask-mySQL-nginx/backend_flask/Dockerfile (+10 -0)
React-flask-mySQL-nginx/backend_flask/app.py (+16 -0)
React-flask-mySQL-nginx/backend_flask/requirements.txt (+3 -0)
React-flask-mySQL-nginx/db/init.sql (+8 -0)
React-flask-mySQL-nginx/docker-compose.yml (+33 -0)
React-flask-mySQL-nginx/frontend_react/.dockerignore (+6 -0)
React-flask-mySQL-nginx/frontend_react/.env (+0 -0)
React-flask-mySQL-nginx/frontend_react/.env.txt (+0 -0)
React-flask-mySQL-nginx/frontend_react/.gitignore (+24 -0)
React-flask-mySQL-nginx/frontend_react/.txt (+0 -0)
React-flask-mySQL-nginx/frontend_react/Dockerfile (+14 -0)
React-flask-mySQL-nginx/frontend_react/README.md (+69 -0)
React-flask-mySQL-nginx/frontend_react/eslint.config.js (+23 -0)
React-flask-mySQL-nginx/frontend_react/index.html (+13 -0)
React-flask-mySQL-nginx/frontend_react/package-lock.json (+3393 -0)
React-flask-mySQL-nginx/frontend_react/package.json (+30 -0)
React-flask-mySQL-nginx/frontend_react/public/vite.svg (+1 -0)
React-flask-mySQL-nginx/frontend_react/src/App.css (+42 -0)
React-flask-mySQL-nginx/frontend_react/src/App.tsx (+22 -0)
React-flask-mySQL-nginx/frontend_react/src/assets/react.svg (+1 -0)

...and 10 more files

📄 Description

Overview

  • This PR adds a full-stack example to awesome-compose that demonstrates how to integrate:
  • React (frontend) – a modern, fast, component-based UI framework
  • Flask (backend) – lightweight Python web framework for APIs
  • MySQL (database) – reliable relational database for persistent storage
    -Nginx (reverse proxy) – production-grade web server to serve the React build and route API requests

Why this is useful

-Showcases a real-world full-stack architecture with Docker Compose.
-Helps developers understand how to containerize and orchestrate frontend + backend + database + reverse proxy together.
-Provides a ready-to-run setup for learners, prototypers, or anyone exploring multi-service applications.

Features

🔹 Frontend React app served via Nginx
🔹 Backend Flask app with REST APIs
🔹 MySQL database with initialization script for persistent storage
🔹 Fully Dockerized setup with docker-compose up


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/docker/awesome-compose/pull/595 **Author:** [@DEVANSH-GAJJAR](https://github.com/DEVANSH-GAJJAR) **Created:** 8/19/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `add-react-flask-mysql-nginx` --- ### 📝 Commits (1) - [`b365555`](https://github.com/docker/awesome-compose/commit/b365555750ed9906fce900c2dae889f4ed9b8f84) Adding React-Flask-MySQL-Nginx snippet to awesome-compose ### 📊 Changes **30 files changed** (+3890 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `React-flask-mySQL-nginx/backend_flask/Dockerfile` (+10 -0) ➕ `React-flask-mySQL-nginx/backend_flask/app.py` (+16 -0) ➕ `React-flask-mySQL-nginx/backend_flask/requirements.txt` (+3 -0) ➕ `React-flask-mySQL-nginx/db/init.sql` (+8 -0) ➕ `React-flask-mySQL-nginx/docker-compose.yml` (+33 -0) ➕ `React-flask-mySQL-nginx/frontend_react/.dockerignore` (+6 -0) ➕ `React-flask-mySQL-nginx/frontend_react/.env` (+0 -0) ➕ `React-flask-mySQL-nginx/frontend_react/.env.txt` (+0 -0) ➕ `React-flask-mySQL-nginx/frontend_react/.gitignore` (+24 -0) ➕ `React-flask-mySQL-nginx/frontend_react/.txt` (+0 -0) ➕ `React-flask-mySQL-nginx/frontend_react/Dockerfile` (+14 -0) ➕ `React-flask-mySQL-nginx/frontend_react/README.md` (+69 -0) ➕ `React-flask-mySQL-nginx/frontend_react/eslint.config.js` (+23 -0) ➕ `React-flask-mySQL-nginx/frontend_react/index.html` (+13 -0) ➕ `React-flask-mySQL-nginx/frontend_react/package-lock.json` (+3393 -0) ➕ `React-flask-mySQL-nginx/frontend_react/package.json` (+30 -0) ➕ `React-flask-mySQL-nginx/frontend_react/public/vite.svg` (+1 -0) ➕ `React-flask-mySQL-nginx/frontend_react/src/App.css` (+42 -0) ➕ `React-flask-mySQL-nginx/frontend_react/src/App.tsx` (+22 -0) ➕ `React-flask-mySQL-nginx/frontend_react/src/assets/react.svg` (+1 -0) _...and 10 more files_ </details> ### 📄 Description **Overview** - This PR adds a full-stack example to awesome-compose that demonstrates how to integrate: - React (frontend) – a modern, fast, component-based UI framework - Flask (backend) – lightweight Python web framework for APIs - MySQL (database) – reliable relational database for persistent storage -Nginx (reverse proxy) – production-grade web server to serve the React build and route API requests **Why this is useful** -Showcases a real-world full-stack architecture with Docker Compose. -Helps developers understand how to containerize and orchestrate frontend + backend + database + reverse proxy together. -Provides a ready-to-run setup for learners, prototypers, or anyone exploring multi-service applications. **Features** 🔹 Frontend React app served via Nginx 🔹 Backend Flask app with REST APIs 🔹 MySQL database with initialization script for persistent storage 🔹 Fully Dockerized setup with docker-compose up --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 14:29:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#587