A simple application developed as part of learning rust programming language while interface with PostgreSQL.
Adding a user would require to input 1
to the interface.
You then end up adding user infomation. The User Account ID is auto generated and is printed back on successful creattion.
An account ID
is needed to get user information from the database. This when option when selected is prompted for account id information
and if the user account if found is printed.
This menu option when selected, prints all user infomation in table format.
On selecting user options, you will be prompted for account id
. if account is found the user information is printed and the editable
fields are prompted for.
On providing information, the user information is updated in database and, prints updated information from database.
On selecting option, UI prompts for account id
. When a User is found in database, you can activate or deactivate by following the prompt.