Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

🍎 FruitCart – Full-Stack E-Commerce Web Application

FruitCart is a full-stack fruit e-commerce web application that allows users to browse fruits, search and filter products, manage their shopping cart, place orders, and view their order history.

The application also provides a Django Admin Panel for managing fruits, categories, stock, users, and orders.

🌐 Live Demo: https://cart-fruit.onrender.com/


🚀 Features

👤 User Management

  • User registration and login
  • Secure authentication and authorization
  • User logout
  • Protected user features

🍊 Fruit Management

  • Browse fruits by category
  • Product search and sorting
  • Product details
  • Stock availability
  • New arrival indicators
  • Low-stock warnings
  • Product image management

🛒 Shopping Cart

  • Add fruits to cart
  • Increase and decrease quantity
  • Remove products
  • Automatic subtotal and total calculation
  • Inventory-aware cart

📦 Orders

  • Checkout system
  • Cash on Delivery
  • Order placement
  • Order history
  • Order details and status tracking
  • PDF invoice generation

❤️ Wishlist

  • Add/remove favorite fruits
  • Dedicated wishlist
  • Move wishlist items to cart

🎨 User Interface

  • Responsive design
  • Dark Mode
  • Smooth animations
  • Modern fruit cards
  • Category filters
  • Sticky navigation
  • Mobile-friendly layout

🔐 Admin Panel

Administrators can manage:

  • Fruits
  • Categories
  • Stock
  • Product availability
  • Product images
  • Users
  • Orders
  • Order status

🛠️ Tech Stack

Technology Usage
Python Backend programming
Django Web framework
HTML5 Page structure
CSS3 Styling and responsive design
JavaScript Interactive features
PostgreSQL Database
Supabase Database & image storage
ReportLab PDF invoices
Render Deployment
Git & GitHub Version control

🏗️ Application Architecture

                User
                  │
                  ▼
        HTML / CSS / JavaScript
                  │
                  ▼
          Django Application
              (Render)
                  │
          ┌───────┴───────┐
          ▼               ▼
     PostgreSQL      Supabase Storage
     (Supabase)       (Fruit Images)

📂 Main Project Structure

cart-fruit/
│
├── accounts/          # User authentication
├── fruitcart/         # Django project configuration
├── store/             # Products, cart and orders
├── templates/         # HTML templates
├── static/            # CSS, JavaScript and assets
├── media/             # Media files
├── manage.py
├── requirements.txt
└── README.md

⚙️ Run Locally

Clone the repository

git clone https://github.com/Maxmukesh7/cart-fruit.git
cd cart-fruit

Install dependencies

pip install -r requirements.txt

Apply migrations

python manage.py migrate

Start the server

python manage.py runserver

Open:

http://127.0.0.1:8000/

Admin Panel:

http://127.0.0.1:8000/admin/

☁️ Deployment

FruitCart is deployed using Render.

  • GitHub → Source code and version control
  • Render → Django application deployment
  • Supabase PostgreSQL → Cloud database
  • Supabase Storage → Product image storage

🔐 Security

The application uses:

  • Django authentication
  • Password hashing
  • CSRF protection
  • Role-based authorization
  • Environment variables for sensitive credentials
  • Protected admin functionality

🔮 Future Enhancements

  • 📧 Email order notifications
  • ⭐ Product ratings and reviews
  • 📊 Admin analytics dashboard
  • 🎟️ Coupon and discount system
  • 💳 Online payment integration
  • 🔔 Real-time notifications
  • 🤖 Personalized fruit recommendations

👨‍💻 Developer

Mukesh Kumar

BE Computer Science Engineering – Cyber Security

Tech: Python • Django • PostgreSQL • Supabase • HTML • CSS • JavaScript • Git • GitHub • Render

About

FruitCart is a full-stack fruit e-commerce web application built with Django. It includes user authentication, fruit categories, product search and sorting, inventory-aware cart management, checkout with Cash on Delivery, order tracking, and a Django admin panel for managing fruits, stock, categories, and order status.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages