π GrowEasy β AIβPowered Inventory & Pricing Optimization for Shopify Unlock smart retail management with real-time demand forecasting, automated insights, and a full serverless architectureβbuilt entirely on AWS with SageMaker, Lambda, DynamoDB, and React.
Shopify ποΈ is a popular e-commerce platform, Shopify is selected as the primary integration platform for this project.
- Shopify (primary via webhooks & Admin API), WooCommerce (REST API), BigCommerce (official APIs), Magento / Adobe Commerce (enterprise-scale forecasting).
| π’ Problem Without GrowEasy | β How GrowEasy Solves It | π Advantage for Store Owners |
|---|---|---|
| β Manual inventory planning | π§ Uses LSTM-based forecasting to predict product demand | π¦ Avoids overstock/understock losses |
| β No real-time data-driven insights | π Dashboard shows live trends, demand forecasts, and low-stock alerts | β‘ Fast, informed decision-making |
| β Missed opportunities during peak demand | π SNS alerts store owners about high-demand products in advance | π° Maximizes sales by staying stocked |
| β Static pricing that ignores demand | π Integrates demand forecasting into pricing logic (future upgrade) | π Enables smart, dynamic pricing |
| β Shopify analytics not optimized for future planning | π Stores product + order history in DynamoDB, makes it ML-ready | π Better long-term strategy with historical + forecasted data |
| β High infrastructure cost for ML pipelines | βοΈ Fully serverless using AWS Lambda + SageMaker + EventBridge | πΈ Zero server maintenance, pay-as-you-go |
| β No automation for restocking strategy | β° Hourly ML pipeline auto-updates forecasts and recommendations | π Hands-free inventory management |
| β Difficult for non-tech founders to understand backend logic | π§± Modular dashboard + visual insights + alerting system | π©βπΌ Accessible to non-technical business users |
This repository contains backend webhook ingestion, ML forecasting pipeline, and a React dashboard β built during rapid development, so structure reflects functional grouping rather than strict layering.
GrowEasy/ β βββ Backend/ # Core backend logic (Shopify β AWS pipeline) β β β βββ Register_Webhook/ β β βββ register_webhook.py # Registers Shopify webhooks via Admin API β β βββ GrowEasy.txt # Notes / webhook payload reference β β β βββ Webhook_Handler/ β β βββ webhookhandler.py # Processes incoming webhook POST requests β β βββ what it does.txt # Explanation of handler logic β β β βββ forecast_result_writter/ β β βββ forecastResult.py # Writes ML forecast output β β βββ what it does.txt # Description of forecasting output logic β β β βββ forecast_trigger/ β β βββ index.js # Triggers forecasting pipeline (EventBridge/Lambda) β β βββ what it does.txt # Notes on trigger behavior β βββ data/ # Dataset used for ML pipeline β βββ befor-forcast.csv # Raw historical product/order data β βββ after forecast.txt # Forecast output results β βββ Sagemaker/ # ML experimentation & training β βββ forecasting-notebook.ipynb # LSTM model training notebook β βββ codex 2.0/groweasy/ # Frontend (hackathon dashboard build) β β β βββ public/ # Static assets β βββ src/ # React components & UI logic β βββ package.json β βββ tailwind.config.js β βββ assets/ # Supporting files (images, references) β βββ README.md # Project documentation βββ LICENSE # License file βββ Dashboard.png # UI preview βββ api_gateway_event.png # API flow proof βββ cloudwatch_logs.png # Monitoring proof βββ dynamodb_tables.png # Data storage proof | β What This Project IS | β What This Project is NOT |
|---|---|
| Real-Time Data Ingestion System β Captures Shopify product and order events via webhooks and processes them through a serverless pipeline | Not a manual data entry or batch-processing system |
| AI-Driven Demand Forecasting β Uses historical product data with LSTM/ML models to predict future demand | Not a rule-based or static analytics dashboard |
| Serverless Processing Architecture β Built using AWS Lambda, EventBridge, and DynamoDB for scalable, event-driven execution | Not a server-based backend requiring infrastructure management |
| Inventory Optimization Engine β Provides actionable insights on stock levels, demand trends, and restocking needs | Not a passive reporting tool with no decision support |
| Automated Workflow Pipeline β Scheduled ML jobs update forecasts and insights without manual intervention | Not a one-time analysis or offline ML experiment |
| Cost-Efficient Cloud Design β Fully serverless architecture minimizing idle infrastructure cost | Not a heavy ML pipeline with high operational overhead |
GrowEasy integrates directly with Shopify using webhooks and a serverless backend pipeline to enable real-time data processing.
App Setup & Installation
The GrowEasy app is created via the Shopify Partner Dashboard and installed on a merchantβs store using OAuth, granting secure access to product and inventory data. Webhook Registration Once installed, the system registers webhook events (e.g., product create/update) using the Shopify Admin API to receive real-time store activity. Event Ingestion (API Layer)
Shopify sends webhook POST requests to an API Gateway endpoint, which acts as a secure entry point for all incoming data. Processing (Lambda Backend) AWS Lambda processes the incoming payload, extracts relevant fields (product, inventory, pricing), and prepares it for downstream usage. Data Storage
Processed data is stored in DynamoDB for further analysis, forecasting, and historical tracking.
π· Diagram: Webhook Flow
GrowEasy runs an automated, serverless ML pipeline to generate demand forecasts:
- β° Event Trigger (EventBridge) β Schedules forecasting job at regular intervals
- π Data Extraction (Lambda) β Reads historical product data from DynamoDB and exports to S3 (
products.csv) - π§ Model Execution (SageMaker / Python) β Trains and runs LSTM-based forecasting on product demand
- π Result Storage (DynamoDB) β Stores forecast outputs per product for fast retrieval
- π€ Alerting (SNS) β Sends notifications on low stock or demand spikes
β‘ Outcome: Automated, repeatable forecasting pipeline with no manual intervention
The system is monitored end-to-end for reliability, visibility, and debugging:
- π API Layer (API Gateway + Lambda) β Serves latest forecast data to the dashboard
- π Visualization (React + Recharts) β Displays trends, forecasts, and usage insights
- π Tracing (X-Ray) β Provides request-level visibility across services
- π Access Control (IAM) β Enforces secure, least-privilege access
β‘ Outcome: Full visibility into data flow, system health, and model execution
Why this design?
- Serverless β no infra overhead
- API abstraction β secure frontend
- Event + request hybrid β supports both real-time + scheduled insights
π· Diagram: Monitoring & Logging via CloudWatch

π· Screenshot: GrowEasy Dashboard UI This dashboard is built specifically for retail business owners and inventory managers to monitor forecasted demand, stock levels, and price recommendations in real-time. But, Now here , Dashboard fully developed and owned by me as part of the GrowEasy AI-powered retail platform. Responsible for architecture, design, data integration, and deployment. π Live Dashboard Demo β You can explore the working example here.
βοΈ Cloud & Backend
- AWS Lambda β serverless processing for webhooks, data pipelines, and forecasting
- API Gateway β secure endpoint for Shopify webhook ingestion
- DynamoDB β scalable storage for product, order, and forecast data
- Amazon S3 β stores exported datasets for ML processing
π Integration
- Shopify Admin API β access product, inventory, and order data
- Shopify Webhooks β real-time event ingestion (products, updates, orders)
π§ Machine Learning
- Amazon SageMaker β LSTM-based demand forecasting
βοΈ Orchestration & Automation
- Amazon EventBridge β schedules periodic ML jobs and pipeline execution
π Monitoring & Alerts
- Amazon CloudWatch β logs, metrics, and system monitoring
- Amazon SNS β notifications for low stock and demand spikes
π» Frontend
- React + Tailwind CSS β responsive dashboard UI
- Recharts β data visualization (trends, forecasts, insights)
π Security
- AWS IAM β role-based access control with least privilege
1οΈβ£ Clone the repository
git clone https://github.com/your-username/groweasy.git2οΈβ£ Setup Backend
- cd GrowEasy/Backend
- Update webhook endpoint (API Gateway URL)
- Deploy Lambda functions (AWS Console / ZIP)
3οΈβ£ Configure Shopify Webhooks
- Add API Gateway endpoint in Shopify
- Subscribe to:
products/create products/update orders/create 4οΈβ£ Run Forecasting Pipeline
- Upload historical data to /data
- Run: Sagemaker/forecasting-notebook.ipynb
5οΈβ£ Run Frontend Dashboard
cd "codex 2.0/groweasy" npm install npm start I built GrowEasy during the Codex 2.0 Hackathon in just 36 hours, working under extreme pressure with my team.
- β Real-life problem solving β tackled challenges faced by small Shopify merchants like stockouts and wrong pricing.
- β Hands-on project building β designed and implemented the end-to-end AI + cloud pipeline (Shopify β AWS β AI β Dashboard).
Here are some snapshots from my Codex 2.0 journey while building GrowEasy:
Also, you can check from here: LinkedIn
β¨ This experience made GrowEasy not just a project, but a real proof of my skills in cloud, AI, and problem-solving under pressure.
Failure Handling
- Retry-safe execution (idempotent Lambda design)
- Partial failures donβt break full pipeline
- Errors logged in CloudWatch for traceability
Security
- IAM roles with least privilege (no over-permissioned access)
- No secrets exposed to frontend
- API Gateway enforces controlled access + CORS
Scalability & Performance
- Lambda auto-scales with request load
- DynamoDB handles high-throughput reads/writes
- Stateless design avoids bottlenecks
Key Decisions
- Serverless over containers β faster setup, lower ops cost
- API abstraction over direct AWS calls β security + simplicity
- Real data over mock dashboards β credibility
- Modular design β Lambda, API, frontend decoupled
Trade-offs
- Limited control over long-running workloads
- Forecasting kept lightweight (not full ML pipeline infra)
- Depends on AWS API availability
Explicit Limitations
- No enterprise-grade RBAC/auth system
- Forecasting accuracy depends on historical data quality
- Not a full FinOps platform (focused scope)
GrowEasy is an open-source initiative, and we welcome contributions from developers, data scientists, cloud engineers, and e-commerce enthusiasts!
| Feature Idea | Description |
|---|---|
| π° Dynamic Pricing | Adjust product prices based on forecasted demand and stock levels |
| π Sales Anomaly Detection | Detect sudden drops/spikes in sales and alert store owners |
| π¬ Multi-Store Support | Enable GrowEasy to manage multiple Shopify stores under one dashboard |
| π Role-Based Dashboard | Add user authentication and access control for different team members |
| π Trend Analysis Charts | Show seasonality and long-term performance trends for each product |
| π¬ Email Reporting (SNS) | Send daily/weekly summaries to store owners using Amazon SNS |
- π΄ Fork the repo
- π¦ Create a new feature branch:
git checkout -b feature-name - β Make your changes and test them
- π¬ Submit a pull request describing your enhancement
π€ Let's Build This Together! Made with π by Manas Gantait






