This project is a simple auction system with both server and client components, allowing users to register, log in, add items for auction, place bids, and view available items.
- User Registration: Allows users to register with a username and password.
- User Login: Allows registered users to log in with their username and password.
- Item Management: Users can add items to be auctioned.
- Bidding System: Registered users can place bids on items.
- Item Listing: Users can view items available for auction with their current bids.
- Python 3.x
- MongoDB (for data storage)
- Socket programming (for communication between client and server)
- Encryption/Decryption (for secure communication between client and server)
-
Clone the Repository:
https://github.com/htetarkar2246/server-client-vote-app.git
-
Navigate to the Project Directory:
cd server-client-vote-app
-
Set Up a Virtual Environment (Optional but recommended):
python -m venv venv
-
Activate the Virtual Environment:
On Windows:
venv\Scripts\activate
-
Install Requirements:
pip install requiremnts.txt
-
Clone the repository or copy the server code into your local directory.
-
Make sure MongoDB is installed and running on your local machine (
localhost:27017
). -
Run the server by executing the following command:
python auction_server.py
-
Clone the repository or copy the client code into your local directory.
-
Run the client by executing the following command:
python auction_client.py
Python
MongoDB