Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 2.39 KB

File metadata and controls

46 lines (29 loc) · 2.39 KB

User Managerment Tool using Rust

Rust rust-clippy analyze

A simple application developed as part of learning rust programming language while interface with PostgreSQL.

Minimal UI to add and manager users:

image

Addding Users:

Adding a user would require to input 1 to the interface.

image

You then end up adding user infomation. The User Account ID is auto generated and is printed back on successful creattion.

Viewling User(s):

View User:

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.

image

View all Users:

This menu option when selected, prints all user infomation in table format. image

Update User Information:

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.

image

On providing information, the user information is updated in database and, prints updated information from database.

image

Activate/Deactivate User:

On selecting option, UI prompts for account id. When a User is found in database, you can activate or deactivate by following the prompt.

Activate User Account:

image

Deactivate User Account:

image