Auction System for Linux, with a server/client architecture.
- 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
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.
users: prints all the users currently onlinekick <username>: kicks the userlist: lists all the items for saleprom: list all the promotions activereprom: reload the promotions programs based on the txt filecancel: close the exe of one of the promotors programtime: prints the system time in secondshelp: prints a command listclose: closes the backend and all the frontends
list: lists all the items for salelisel <name>: lists all the items from a sellerlival <value>: lists all the items with a price <=valuelitime <time>: lists all the items with time <=timebuy <id> <amount>: tries to buy and item by its idsell <name> <categorie> <price> <price-buy-now> <time>: puts a product up for salecash: prints the amount of money the user hasadd <amount>: adds an amount to the users moneytime: prints the system time in secondshelp: prints a command listexit: closes the frontend and notifies the backend