Fyin
Fyin copied to clipboard
Add account feature and save searches
Fixes #4
Add user account management and search history saving functionality.
-
Dependencies: Add
sqlx,bcrypt, andtokiodependencies inCargo.toml. -
Documentation: Update
README.mdto include instructions for setting up the database, using accounts, and saving searches. -
Command-line Arguments: Add
registerandloginarguments insrc/args.rsfor user account management. -
Main Functionality: Modify
src/main.rsto handle user registration, login, and search history saving. -
Data Structures: Add
UserandSearchHistorystructs insrc/data.rsfor user account management and search history. -
Database Interaction: Add
src/db.rsto handle database connection, user registration, login, and saving search history.