Skip to main content

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

ERD diagram

Project details


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.0.tar.gz (173.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cybermarket_server-1.0.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file cybermarket_server-1.0.0.tar.gz.

File metadata

  • Download URL: cybermarket_server-1.0.0.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

Hashes for cybermarket_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 19d70e7bc011a50d6dd02075daa3cfb4fd4e0e3bc9528294a0939485193d250f
MD5 8ca0888a75866583d9904596eacd6ecf
BLAKE2b-256 f8188699c504bc8abaecaa61322557f7bc9545e39fe5732b43b19d8a183c083f

See more details on using hashes here.

File details

Details for the file cybermarket_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cybermarket_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c950f6a8ad5f2a7a761af9fb29435de5430d6a5711cfca58e69bf5afa2e6971
MD5 ef210c919623065e0986841aa99d95b7
BLAKE2b-256 ea9bdd09cc374802d95e9845f42853e47bdc28b2fa9793cb24b2a624fe9095c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page