Skip to content

Add account feature and save searches#7

Open
JackAdamsJenkins wants to merge 1 commit intoshadowfax92:mainfrom
JackAdamsJenkins:add-account-feature
Open

Add account feature and save searches#7
JackAdamsJenkins wants to merge 1 commit intoshadowfax92:mainfrom
JackAdamsJenkins:add-account-feature

Conversation

@JackAdamsJenkins
Copy link
Contributor

@JackAdamsJenkins JackAdamsJenkins commented Oct 5, 2024

Fixes #4

Add user account management and search history saving functionality.

  • Dependencies: Add sqlx, bcrypt, and tokio dependencies in Cargo.toml.
  • Documentation: Update README.md to include instructions for setting up the database, using accounts, and saving searches.
  • Command-line Arguments: Add register and login arguments in src/args.rs for user account management.
  • Main Functionality: Modify src/main.rs to handle user registration, login, and search history saving.
  • Data Structures: Add User and SearchHistory structs in src/data.rs for user account management and search history.
  • Database Interaction: Add src/db.rs to handle database connection, user registration, login, and saving search history.

Fixes shadowfax92#4

Add user account management and search history saving functionality.

* **Dependencies**: Add `sqlx`, `bcrypt`, and `tokio` dependencies in `Cargo.toml`.
* **Documentation**: Update `README.md` to include instructions for setting up the database, using accounts, and saving searches.
* **Command-line Arguments**: Add `register` and `login` arguments in `src/args.rs` for user account management.
* **Main Functionality**: Modify `src/main.rs` to handle user registration, login, and search history saving.
* **Data Structures**: Add `User` and `SearchHistory` structs in `src/data.rs` for user account management and search history.
* **Database Interaction**: Add `src/db.rs` to handle database connection, user registration, login, and saving search history.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/shadowfax92/Fyin/issues/4?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to use an account and save searches

1 participant