A comprehensive retail management system with intelligent features including inventory management, customer analytics, smart shopping assistant, and integrated payment processing.
- Smart Inventory Management: Real-time stock tracking and automated alerts
- Customer Analytics: Advanced insights and purchase behavior analysis
- Payment Integration: Secure Razorpay payment processing
- Smart Shopping Assistant: AI-powered product recommendations
- Coupon & Loyalty System: Smart coins and discount management
- WhatsApp Integration: Automated notifications via Twilio
- Multi-platform: React frontend, Node.js API, Django backend
StoreZen/
βββ client/ # React.js Frontend
βββ server/ # Node.js API Server
βββ django_backend/ # Django Backend (Inventory & Payments)
βββ README.md
- Node.js 16+ and npm
- Python 3.8+
- MongoDB Atlas account
- Razorpay account (for payments)
- Twilio account (for SMS/WhatsApp)
git clone https://github.com/your-username/StoreZen-Retail-system.git
cd StoreZen-Retail-systemcd django_backend
cp .env.example .env
# Edit .env with your actual API keys
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver 8000cd server
cp .env.example .env
# Edit .env with your actual credentials
npm install
npm startcd client
npm install
npm startTWILIO_ACCOUNT_SID=your_twilio_sid
TWILIO_AUTH_TOKEN=your_twilio_token
TWILIO_WHATSAPP_FROM=whatsapp:+1415XXXXXXX
SECRET_KEY=your_django_secret_key
RAZORPAY_KEY_ID=rzp_test_your_key
RAZORPAY_KEY_SECRET=your_razorpay_secret
DEBUG=TruePORT=8080
MONGO_CONN=mongodb+srv://user:pass@cluster.mongodb.net/db
JWT_SECRET=your_jwt_secret
TWILIO_ACCOUNT_SID=your_twilio_sid
TWILIO_AUTH_TOKEN=your_twilio_token
TWILIO_PHONE_NUMBER=+1XXXXXXXXXX- β Environment variables for all sensitive data
- β JWT authentication
- β Payment signature verification
- β CORS configuration
- β Input validation and sanitization
The application includes demo/test modes:
- Razorpay Test Mode: Uses test API keys for safe payment testing
- Sample Data: Pre-populated inventory and customer data
- Test Cards: Razorpay provides test card numbers for development
- Success: 2305 3242 5784 8228
- UPI Success: success@razorpay
- UPI Failure: failure@razorpay
POST /auth/signup- User registrationPOST /auth/login- User loginPOST /manager/auth/login- Manager login
GET /api/products- Get all productsPOST /api/products- Add new productPUT /api/products/:id- Update product
POST /payment/create-order/- Create Razorpay orderPOST /payment/verify/- Verify payment signature
# Backend tests
cd django_backend && python manage.py test
# Frontend tests
cd client && npm test
# API tests
cd server && npm test- Frontend: ESLint + Prettier
- Backend: PEP 8 (Python)
- API: ESLint
- Set
DEBUG=Falsein Django settings - Use production MongoDB cluster
- Configure production Razorpay keys
- Set up SSL certificates
- Configure CORS for production domains
- Set secure environment variables
- Frontend: Vercel, Netlify
- API: Railway, Heroku
- Backend: Railway, PythonAnywhere
- Database: MongoDB Atlas
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- React.js team for the amazing frontend framework
- Django team for the robust backend framework
- Razorpay for payment gateway integration
- Twilio for communication services
For support, email ishanrshah087@gmail.com or create an issue in this repository.
β‘ Built with passion for modern retail solutions