Use the API listed below to write your desired commands. Each command must be separated by a new line and end with a semicolon (";"). Use the file "init.txt" inside the service folder to place your commands. If too many parameters are given to a command, only the first portion will be used. However, if not enough paramaters are given, the initialization will fail. Login and Signup will log in and sign up guests in FIFO order.
API:
AddGuest(); - adds a guest to the system.
Login(username, password); - logins a member into the system.
Logout(username); - logs out the username from the system.
Signup(username, password, phone); - signs up a new costumer.
AdminSignup(adminUsername, password, phone); - signs up a new Admin.
CreateStore(name, username, cardNumber, month, year, holderName, cvv, holderId, state, city, street, apartmentNum, zip);
MakeOwner(assignee, storeId, assigner); if assigner has permissions, assignee becomes a manager
AddProduct(product name, quantity, weight, price, category, storeID, username);
for more info- https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstleyVEVO