Skip to main content

Posts

Showing posts with the label rabbitmq

Microservices Application with Flutter Flask MongoDB RabbitMQ

A complete microservice application setup with a Flutter app, MongoDB, and RabbitMQ, along with all the necessary files and folder structure. The setup uses Docker Compose to orchestrate the services. Folder Structure ``` microservice-app/ │ ├── backend/ │   ├── Dockerfile │   ├── requirements.txt │   ├── main.py │   └── config.py │ ├── frontend/ │   ├── Dockerfile │   ├── pubspec.yaml │   └── lib/ │       └── main.dart │ ├── docker-compose.yml └── README.md ``` 1. `docker-compose.yml` ```yaml version: '3.8' services:   backend:     build: ./backend     container_name: backend     ports:       - "8000:8000"     depends_on:       - mongodb       - rabbitmq     environment:       - MONGO_URI=mongodb://mongodb:27017/flutterdb       - RABBITMQ_URI=amqp://guest:guest@rabbitmq...