This project is an implementation of a marketplace website using Django.
This web application allows users to:
- Browse listings of items for sale.
- View details of individual items.
- Bid on auction listings.
- Create their own auction listings.
- Add items to a watchlist.
- Comment on listings.
⚙️ To run this project locally, follow these steps:
-
Clone the repository:
git clone [https://github.com/saidbaraou/commerce.git](https://github.com/saidbaraou/commerce.git) cd commerce -
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On macOS and Linux # venv\Scripts\activate # On Windows
-
Install the dependencies:
pip install -r requirements.txt
-
Make migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser (for admin access):
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Open your web browser and navigate to
http://127.0.0.1:8000/to view the application.
- Listings: Display of active and closed auction listings.
- Product Page: Detailed information about each listed item.
- Create Listing: Option for logged-in users to create new auction listings.
- Watchlist: Ability for users to track items they are interested in.
- Categories: View listings from different categories by filtering them.
- Bidding: System for placing bids on auction items.
- Admin Interface: Django's built-in admin interface for managing the application.
This project could be further enhanced with features such as:
- Payment gateway integration.
- User profile management.
- More advanced search and filtering options.
- Real-time updates for bidding.
- Improved user interface and design.