How lohit20/ecommerce-microservices works
Project type and purpose
• This is an e-commerce application built as a set of independent microservices.
• Each microservice has its own Dockerfile, dependencies, and isolates one business capability: authentication (ecommerce-auth), product catalog (products), shopping cart (cart), and recommendations/search (recommendation_and_search_system).
• A docker-compose.yml ties them together into one functional system.
File structure
• Top-level services:
– cart/
– ecommerce-auth/
– products/
– recommendation_and_search_system/
• Common pattern inside each service:
– Dockerfile — container build
– requirements.txt — Python dependencies
– main.py — entrypoint, HTTP server
– models.py — domain models
– JSON data file (in cart and products) for sample data or simple persistence
• One cross-service orchestration file: docker-compose.yml
README for additional insights
• README simply names the project “Ecommerce-Microservices.”