ShelfSense

Mini project, academic year 2026-27

An intelligent inventory, expiry monitoring and profit optimization system for small retailers

Department of Computer Science & Business System
Maharaja Institute of Technology Mysore, Belawadi, Srirangapatna Tq, Mandya

Problem statement

Stock, expiry and profit are tracked separately in most small shops, if at all. That causes five problems:

Stock and batch tracking gaps
Quantities are hard to follow across product batches.
Products expiring unsold
Items reach their expiry date before they are sold.
No timely alerts
Low-stock and expiry warnings are missing.
Unclear profit and loss
Actual profit and expiry losses are hard to calculate.
Guesswork pricing
Discounts ignore cost, shelf life and sales history.

Aim

To develop a web-based system that tracks product batches and expiry dates, calculates profit and potential expiry losses, and recommends explainable prices and discounts, helping small retailers make better stock and pricing decisions.

Objectives

  1. Maintain digital product and batch-wise inventory records.
  2. Monitor expiry dates and identify products that need attention.
  3. Generate low-stock, near-expiry and expired-batch alerts.
  4. Calculate unit profit, actual sales profit and potential expiry-related losses.
  5. Recommend selling prices or discounts based on cost, remaining shelf life, stock quantity and available sales history.
  6. Provide a clear dashboard for inventory and business performance.

Literature survey

Author and yearPaperKey findingsResearch gap
Nahmias, 1982Perishable Inventory Theory: A Review
Literature review of fixed-life and exponentially decaying inventory
Reviews ordering policies for perishable items under deterministic and stochastic demand.Theory-focused; no simple tool for small-retailer batch tracking.
Bakker et al., 2012Review of Inventory Systems with Deterioration since 2001
Literature review classified by shelf life and demand
Updates deteriorating-inventory research, including price discounts and backordering.Reviews models; no ready-to-use expiry dashboard for shops.
Karaesmen et al., 2011Managing Perishable and Aging Inventories: Review and Future Research Directions
Book-chapter literature review
Highlights outdating risk in perishable products and surveys control approaches.Analytical focus; limited practical guidance for small retailers.
Chen, Pang and Pan, 2014Coordinating Inventory Control and Pricing Strategies for Perishable Products
Joint pricing, ordering and disposal optimisation model
Analyses profit-maximising pricing and disposal for fixed-lifetime products.Mathematical model; ShelfSense uses transparent rules for shops.
Fildes, Ma and Kolassa, 2022Retail Forecasting: Research and Practice
Literature review of retail demand forecasting
Reviews retail forecasting problems, accuracy evidence and company practice.Large-retailer focus; small shops have limited sales history.

Research gap. Existing work covers perishable-inventory theory, joint pricing and retail forecasting. ShelfSense brings batch-wise expiry tracking, profit and expiry-loss calculation and explainable pricing together in one simple tool for small retailers.

Proposed solution

A rule-based system that links stock, expiry and profit. The six modules are product and batch management, stock and sales tracking, expiry monitoring and alerts, profit and loss analysis, pricing and discount suggestions, and reports with an inventory dashboard. Version 1 uses transparent rules, described on the pricing page of the app. No pre-trained AI model is claimed.

Technology

  • Frontend: Next.js and React, styled with Tailwind CSS, charts with Recharts.
  • Rules and calculations: plain TypeScript modules covered by unit tests. They run in the browser, so the site can be served as static files.
  • Database and sign-in: Supabase (PostgreSQL with row-level security, and Supabase Auth). Without a Supabase project the app runs in local mode and keeps data in the browser.
  • Hosting: Cloudflare Pages. Source control with Git.

Data

Records are entered by hand: product, category, batch, purchase cost, selling price, expiry date, quantity, sales and stock adjustments. For testing there is a clearly labelled synthetic sample shop with 27 products and 60 days of simulated sales. No real retailer data has been used. Real sales history is needed to evaluate the demand-based suggestions reliably.

Expected outcome

A simple inventory, expiry and profit tool that helps small retailers see what needs restocking, discounting or attention, evaluated with test scenarios and sample data.

Future scope

Barcode entry
Add products by scanning barcodes where supported.
OCR expiry entry
Read expiry dates from packaging with OCR assistance.
Demand forecasting
Forecast demand once there is enough sales history.
Notifications
Automated WhatsApp or push alerts.
Multi-store support
Manage inventory across several stores.
Offline-first use
Keep working without a continuous connection.
POS integration
Connect with billing or point-of-sale systems.
Real-data evaluation
Evaluate with real retailer data, with permission.

Team

Drushya4MH24CB009Member
M Apoorva4MH24CB020Member
Prof. PoorviFaculty guide

References

  1. Nahmias, S. (1982). Perishable Inventory Theory: A Review. Operations Research, 30(4), 680-708. doi:10.1287/opre.30.4.680
  2. Bakker, M., Riezebos, J., & Teunter, R. H. (2012). Review of inventory systems with deterioration since 2001. European Journal of Operational Research, 221(2), 275-284. doi:10.1016/j.ejor.2012.03.004
  3. Karaesmen, I. Z., Scheller-Wolf, A., & Deniz, B. (2011). Managing Perishable and Aging Inventories: Review and Future Research Directions. In Planning Production and Inventories in the Extended Enterprise (pp. 393-436). Springer. doi:10.1007/978-1-4419-6485-4_15
  4. Chen, X., Pang, Z., & Pan, L. (2014). Coordinating Inventory Control and Pricing Strategies for Perishable Products. Operations Research, 62(2), 284-300. doi:10.1287/opre.2014.1261
  5. Fildes, R., Ma, S., & Kolassa, S. (2022). Retail forecasting: Research and practice. International Journal of Forecasting, 38(4), 1283-1318. doi:10.1016/j.ijforecast.2019.06.004