Giter Site home page Giter Site logo

sobay's Introduction

SoBay

Auction System for Linux, with a server/client architecture.

GitHub Language Count GitHub Last Commit

Features ๐Ÿ“‘

  • Backend: The application responsible for responding to all the requests from the clients
  • Frontend: The application where all clients login to participate in the auction
No Frontend can be initialized without the Backend being ON

How to Use ๐Ÿ› 

In the terminal use the following command:
make rr - This will initialize/compile all the programms needed
make clear - This will clear all the temporary files and the .exe files

./backend - to initialize the backend application
./frontend <username> <password> - to initialize the frontend application

It's required 3 ambient variables: FUSERS, FITENS and FPROMOTORES. They're gonna store the path for each file.

Commands ๐Ÿ’ป (Backend)

  • users : prints all the users currently online
  • kick <username> : kicks the user
  • list : lists all the items for sale
  • prom : list all the promotions active
  • reprom : reload the promotions programs based on the txt file
  • cancel : close the exe of one of the promotors program
  • time : prints the system time in seconds
  • help : prints a command list
  • close : closes the backend and all the frontends

Commands ๐Ÿ‘ฅ (Frontend)

  • list : lists all the items for sale
  • lisel <name> : lists all the items from a seller
  • lival <value> : lists all the items with a price <= value
  • litime <time> : lists all the items with time <= time
  • buy <id> <amount> : tries to buy and item by its id
  • sell <name> <categorie> <price> <price-buy-now> <time> : puts a product up for sale
  • cash : prints the amount of money the user has
  • add <amount> : adds an amount to the users money
  • time : prints the system time in seconds
  • help : prints a command list
  • exit : closes the frontend and notifies the backend

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.