A modern web application for laundry service management with AI-powered stain detection.
-
Customer Features
- User registration and authentication
- Place new laundry orders
- Track order status
- View order history
- Performance metrics visualization
-
Admin Features
- Customer management
- Order status tracking and updates
- Delivery description management
-
Modern UI/UX
- Responsive design for all devices
- Dark/Light mode toggle
- Image lightbox preview
- Modern card and table design
- Backend: Django web framework
- Frontend: HTML, CSS, JavaScript, Bootstrap 5
- Database: MySQL
- AI Integration: YOLOv5 for stain detection
- Additional Libraries:
- Bootstrap Icons
- Lightbox2 for image previews
- Google Fonts (Montserrat and Playfair Display)
- Python 3.8 or higher
- MySQL Database
- pip package manager
-
Clone the repository:
git clone https://github.com/yourusername/laundry-at-ease.git cd laundry-at-ease -
Create and activate a virtual environment:
python -m venv venv # On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt -
Configure the database in settings.py:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'your_database_name', 'USER': 'your_database_user', 'PASSWORD': 'your_database_password', 'HOST': 'localhost', 'PORT': '3306', } }
-
Run migrations:
python manage.py migrate -
Start the development server:
python manage.py runserver -
Access the application at http://127.0.0.1:8000/
-
Admin Login:
- Username: admin
- Password: admin123
-
Sample User Login:
- Username: user
- Password: user123
- Register a new account or login with existing credentials
- Place a new laundry order from the "NEW ORDER" menu
- Select the type of laundry service and required items
- Upload images of garments for stain detection (optional)
- Track order status in "MY ORDERS" section
- View performance metrics under "PERFORMANCE" section
- Login with admin credentials
- View all registered customers under "CUSTOMERS" section
- Manage all orders under "ORDERS" section
- Update order status and delivery descriptions as needed