The server of the online network market accepts login, listing, purchase, etc. requests sent by the client.
Project description
cybermarket_server
The server of a online cybermarket.
Statement of solved problem
Module goals: Build a module to accept binary messages from cybermarket_client, parse the messages and perform add, delete, modify and query operations in the database based on parameters.
Client functions:
- Create an account:
- Provide username, email, and password to create a new client.
- Account login or logout:
- Log in using username or email and password and log out
- Modify Personal Information:
- Username, email, and password are allowed to be modified
- Add or remove products:
- Allow customers to add or remove items from their shopping cart
- List order items:
- Users can view the items in their shopping cart
- Get total price:
- The user can get the total price of the items in the shopping cart
- Checkout order:
- Users can check out items in their shopping cart
Merchant functions:
- Create invitation code:
- Merchants can generate invitation codes to invite new merchants to join
- Create an account:
- Provide storename, description, email, password, and the invitation information to create a new merchant.
- Account login or logout:
- Log in using storename or email and password and log out
- Modify Personal Information:
- Storename, description, email, and password are allowed to be modified
- Put on or off the shelf:
- Merchants should be able to put products on or off the shelves
- Product restock:
- Merchants should be able to restock products on shelves
- Get profit:
- Merchants should be able to capture their profits
Common functions:
- List Merchant:
- Allows to get a list of merchants without logging in
- List Product:
- Allows to obtain the product list of a specified merchant without logging in
Description of proposed solution tools
| Depends | Description |
|---|---|
| Pandas | A tool for data analysis and manipulation. |
| SQLAlchemy | A tool for interfacing between Python and databases. |
Database ERD diagram
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cybermarket_server-1.0.1.tar.gz.
File metadata
- Download URL: cybermarket_server-1.0.1.tar.gz
- Upload date:
- Size: 173.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d506c03625cdb4955a8a55d5b8b10867fffe25b051cab1faad35a63add4a3267
|
|
| MD5 |
16a9f95d36bcb74b002e86eee1123469
|
|
| BLAKE2b-256 |
004e9eda8a032aece073c05bc3d4a609d6f8fa48ad0366a40b5a176a71ff1739
|
File details
Details for the file cybermarket_server-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cybermarket_server-1.0.1-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae77af103bb841e869808172ab5161333f9ed4f3c34b949c4aaecf9a4e9e7e33
|
|
| MD5 |
d10fc4c9e3ecc968b2df9656c34966e0
|
|
| BLAKE2b-256 |
adf6054901c255b7e740fdeb8dadce0ba0aac0404b86957179e40fb9d52efc42
|