ONE STOP SHOP
It was basically my undergrade College Project and Built a responsive e-commerce platform using MERN stack with Razorpay integration for payments. Implemented features like product filtering, user reviews, delivery instructions, and secure data stored in MongoDB.
Added protections against attacks such as XSS, CSRF, Broken Auth., Path traversal, local file inclusion and more OWASP attacks
it was mainly web development project but I started learning about Cybersecurity at the same time so did some secure coding practice and tested for every OWASP Top 10 and my project successfully passed every check at that time. You can check my repo for project and leave below thing as it’s just pure GPT.
π Backend
π Frontend
ποΈ One Shop Stop β Secure MERN Stack E-commerce Platform
One Shop Stop is a full-featured, responsive e-commerce platform built using the MERN stack (MongoDB, Express, React, Node.js). It integrates Razorpay for secure payment processing and prioritizes both functionality and security to provide a seamless user experience for customers and sellers.
π Key Features
- π Product Search & Filtering: Easily browse, search, and filter products by categories or keywords.
- π Shopping Cart: Add multiple items, review your selections, and securely check out.
- π£οΈ User Reviews & Feedback: Customers can leave ratings and reviews to help others make informed decisions.
- π¬ Delivery Instructions: Personalized delivery options included at checkout.
- π Secure Registration & Login: Role-based access and protected authentication flow for users and admins.
- π³ Razorpay Integration: Safe and smooth transactions through Razorpayβs payment gateway.
π Security Enhancements
Security was a top priority in the development process. The platform is protected against multiple OWASP Top 10 vulnerabilities:
- β XSS (Cross-Site Scripting): DOMPurify and input sanitization are used across all user inputs to prevent malicious script injection.
- β CSRF (Cross-Site Request Forgery): Routes are CSRF-protected with token validation in sensitive operations.
- β
Path Traversal & Local File Inclusion (LFI): All routes are controlled via React Router, and uploads are validated to reject any file types like
.php
,.phtml
, etc. - β Broken Authentication: Proper session and token management ensures secure user identity.
- β Secure Upload Handling: Files are validated and sanitized before being stored, preventing injection and traversal attacks.
βIf a user tries to upload a file with unsafe extensions, the system immediately blocks it and notifies them with a warning.β
π Admin & Seller Tools
Sellers and admins can:
- View analytics and graphs for customer behavior
- Manage product inventory and orders efficiently
- Identify popular products by category or demographic
- Maintain a database of recurring customers and preferences
π¦ Scalable & Future-Proof
Designed with scalability in mind, One Shop Stop can easily expand to support a growing catalog and user base. The modular architecture allows integration of additional services, such as AI-based recommendations or multi-language support.
π― Conclusion
“One Shop Stop aims to become a globally accessible and secure e-commerce platform, balancing intuitive design with enterprise-grade protection.”
This project reflects real-world e-commerce challenges and solutions with a focus on modern security practices, cloud integration, and data-driven decision-making.