MaadhavaM /
multi-container-microservices-app
Full-stack Notes Management App using Docker Compose, Python Flask, MySQL, Nginx and GitHub Actions CI/CD Pipeline
63/100 healthLoading repository data…
suprateembanerjee / repository
A multi-container full stack application containing a Tensorflow (Keras) Transformer model translating English sentences into Spanish, served over a Flask API in the back end and a React + TypeScript + CSS app in the front end.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A multi-container full stack application containing a Tensorflow (Keras) Transformer model translating English sentences into Spanish, served over a Flask API in the back end and a React + TypeScript + CSS app in the front end.
By default, this script runs on pre-trained weights downloaded at build time of the backend container. Training the model locally is possible, via steps mentioned towards the end of this document.
docker compose up --build
The app is served on localhost:5173/
The model being served is a simple Transformer model (20M parameters) consisting of a single Transformer Encoder and a single Transformer Decoder layer with dropout, trained over 30 epochs.
~120k English and Spanish sentence translations dataset from ManyThings and Tatoeba.
Two Dockerfiles exist: The one we use for docker compose and another we use for training the model from scratch. Both contain scripts for installing required dependencies.
The pretrained script contains an exclusive script used to download the model weights (in .keras format) and source and target vectorization weights (in .pkl format)
docker build -t translator-pretrained -f dockerfile-pretrained .
docker run -it -p 5000:5000 translator-pretrained python3 src/api.py
The training script intiates the training pipeline, which will run at build time.
docker build -t translator-train -f dockerfile-train .
docker run -it -p 5000:5000 translator-train python3 src/api.py
The script serves a Flask-based REST API to query the inference model, requiring a JSON object containing the query text in English, source vectorization, target vectorization, and model. The API will return a dictionary with a single key translated with a value containing the translated string. The API is served on LocalHost:5000/translate.
Example query: curl -i -H "Content-Type: application/json" -X POST -d '{"text": "I have never heard her speak english", "source_vectorization": "models/english_vectorization.pkl", "target_vectorization": "models/spanish_vectorization.pkl", "model": "models/translator_transformer.keras"}' localhost:5000/translate
Alternatively, use demo.py for querying the backend API. Usage: python demo.py "I love dancing"
The script serves a React App built using ViteJS containing custom CSS elements for aesthetic purposes. The app makes fetch requests based on context and serves the result in a read-only Textbox. The API is served on LocalHost:5173/.
This project explores the different components of a full-stack web application involving deep learning inference. The model itself is not too accurate, as can be expected from a shallow transformer, but it is fairly accurate for the most part and serves the purposes of demonstration. Only 15000 most frequently occurring words were considered for vocabulary, and the Transformer was configured with a sequence length of 20, which is fairly limited. This project, however, showcases the pipeline for training and inference across multiple containers.
Selected from shared topics, language and repository description—not editorial ratings.
MaadhavaM /
Full-stack Notes Management App using Docker Compose, Python Flask, MySQL, Nginx and GitHub Actions CI/CD Pipeline
63/100 healthmehdii000 /
A full-stack multi-container based social networking platform
56/100 healthhugpaim /
CLI tool to manage multi-container Docker environments using declarative YAML manifests — spin up full stacks with a single command.
senura-medagoda /
DevOps project - A production-style URL shortener built with Python and Flask, featuring a full multi-container architecture, live monitoring dashboard, reverse proxy, and automated CI/CD pipeline.
49/100 healthharrybelafonte3 /
This project is a full-stack web application built using Django for the backend and React for the frontend. The application is deployed using Docker with a multi-container setup, incorporating NGINX as a reverse proxy and static and media file server, and PostgreSQL as the database.
38/100 healthlucys18 /
A full-stack athlete/workout management app. Architected as a multi-container system (Docker Compose & Nginx) with a Python API, PostgreSQL DB, and standalone frontend.
34/100 health