Infrastructure
FTGO is a scalable, microservice-based food ordering application built with Python (FastAPI) and Vue.js, designed following object-oriented design principles.
š You can use this project as a template to build your backend microservice project in Python š
š New features and technologies will be added soon!
Source Code: https://github.com/deepmancer/full-stack-fastapi-ftgo
ā” FastAPI:
š± MongoDB:
š§° Redis:
š¾ PostgreSQL:
š RabbitMQ:
š Docker Compose:
ā Pytest:
These tools are configured and run via Docker in the infra/admin/docker-compose.yaml
.
Create Docker networks for backend and frontend services.
docker network create --driver bridge backend-network
docker network create --driver bridge frontend-network
Navigate to the infrastructure directory and start the services, including databases and GUI tools.
cd backend/infra
docker compose up --build
backend/infra
āāā admin (Metabase, RedisInsight, Mongo-Express)
āāā mongo
āāā monitoring (Grafana, Prometheus)
āāā postgres
āāā rabbitmq (with the Management extension)
āāā redis
Navigate to the backend directory and start all microservices.
cd backend/
docker compose up --build
The frontend is built with Vue.js for a dynamic and responsive user experience.
Navigate to the ui/
directory and install the required packages.
cd ui/
npm install
Run the development server with hot-reloading enabled.
npm run serve