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
cybermarket_server-1.0.1.tar.gz
(173.6 kB
view hashes)
Built Distribution
Close
Hashes for cybermarket_server-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae77af103bb841e869808172ab5161333f9ed4f3c34b949c4aaecf9a4e9e7e33 |
|
MD5 | d10fc4c9e3ecc968b2df9656c34966e0 |
|
BLAKE2b-256 | adf6054901c255b7e740fdeb8dadce0ba0aac0404b86957179e40fb9d52efc42 |