An E-commerce web application incorporating essential features such as product catalog, shopping cart, checkout process, and user authentication using HTML, CSS, JavaScript, Django, and SQLite3. Implemented stringent security measures including SQL injection prevention, brute force protection, password hashing,data encryption and secure payment processing with Razorpay.
- 🛍️ Product catalog with images, pricing, and descriptions
- 🛒 Add-to-cart and cart management system
- 🔐 User registration, login/logout, and profile management
- 💳 Checkout with Razorpay API for secure online payments
- 📦 Order summary and confirmation
- 🛡️ Security implementations:
- SQL injection prevention
- Brute-force attack protection
- Password hashing (Django's built-in mechanism)
- Sensitive data encryption
- Frontend: HTML, CSS, JavaScript
- Backend: Django (Python), SQLite3
- Payments: Razorpay API
- Authentication: Django’s built-in auth system
- Security: Django’s security middleware + custom protections
Dairy-webapp/
│
├── ec/ # Project config files
│ └── settings.py
│
├── app/ # Main app
│ ├── models.py # Product, Order, Cart models
│ ├── views.py # View logic for each page
│ ├── templates/ # HTML templates
│ └── static/ # CSS, JS, images
│
├── manage.py
└── requirements.txt
- Razorpay payment gateway is integrated at the checkout step.
- Secure and encrypted transactions using Razorpay’s APIs.
- Real-time confirmation and order logging upon payment success.
- SQL Injection Prevention: Django ORM safely handles queries.
- Brute Force Protection: Rate-limiting strategies or external middleware.
- Password Security: Hashed using PBKDF2 with salt.
- Sensitive Data Handling: Encryption in transit and protection using Django security best practices.
- Clone the repo
git clone https://github.com/rohithgowdax/Dairy-webapp.git
cd Dairy-webapp
- Create a virtual environment
python -m venv env
source env/bin/activate # For Windows: env\Scripts\activate
- Install dependencies
pip install -r requirements.txt
- Run migrations
python manage.py migrate
- Create a superuser (optional)
python manage.py createsuperuser
- Run the server
python manage.py runserver
- Email notifications on order placement
- Admin dashboard for order and product management
- Wishlist and product filtering
- Integration with PostgreSQL for production
Rohith Gowda R
LinkedIn
GitHub
This project is licensed under the MIT License see the LICENSE file for detail.