How mahi0331/supermarket-billing-system works
Project type and purpose
• This is a simple full-stack web application:
• A React single-page app in the client folder
• A Python-based payment handler (Pay.py) in the server folder
• Purpose: provide a supermarket billing interface (SupermarketBillingApp.jsx) and process payments via Razorpay.
File structure
• Top-level files:
• .gitignore, Commands.txt, README.md (empty)
• package-lock.json (likely from running npm in root, but main client lives in client/)
• client/:
• package.json, postcss.config.js, tailwind.config.js – front-end build & styling
• public/ – static assets (index.html, manifest.json, robots.txt)
• src/ – React source (App.js, SupermarketBillingApp.jsx, index.js, etc.)
• server/:
• Pay.py – Python script that likely exposes a small HTTP/REST endpoint or CLI to invoke Razorpay API
Key insights (README is empty)
• We infer a two-tier design: React front-end and Python back-end communicating over HTTP.