This Django web application simulates an eBay-like auction site where users can create auctions, bid on items, and manage their listings.
- User authentication and registration.
- Create, edit, and manage auctions.
- Place bids on auctions.
- Search for auctions based on various criteria.
- Real-time updates on auction status.
-
Clone the repository:
git clone https://github.com/laminjawla1/auction
-
Navigate to the project directory:
cd auction -
Install dependencies using pip:
pip install -r requirements.txt
-
Create and apply database migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser to access the Django admin:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Access the application at http://localhost:8000.
- Register a new account or log in using an existing one.
- Create auctions for items you want to sell.
- Browse and bid on auctions listed by other users.
- View your dashboard to monitor your auctions and bids.
- Manage your auctions by editing or deleting them.
The application uses the following Django models to define the database schema:
User: Represents a registered user.AuctionListing: Represents an auction listing with details such as title, description, starting bid, etc.Bid: Represents a bid placed on an auction.Comment: Represents comments made on an auction listing.WatchList: Represents listings on you watch list.
For a more detailed view of the database schema, refer to the models in the auctions/models.py file.
Contributions are welcome! Feel free to open issues, submit pull requests, or suggest new features.
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature
- Make your changes and commit them:
git add . git commit -m "Add your feature or fix"
- Push to your fork and submit a pull request.
This project is licensed under the MIT License.