webdevhub icon indicating copy to clipboard operation
webdevhub copied to clipboard

Add favourite features

Open THHamiltonSmith opened this issue 2 years ago • 0 comments

Add a feature that allows the user to favourite features for quick access instead of needing to constantly search for something they might use all the time.

I will work on adding this feature, but some help would be great! Here are my current thoughts:

  • The best way to do this would be to create an account system that will store the user's favourites, which will also allow for expansion of more features in the future.
  • Each user will have an array in this database which contains their favourite features which can easily be changed by button press.
  • This data can be stored in two ways:
  • Local JSON file
  • MongoDB Database

These two options cause some problems though, as a local JSON file will expose account data and all users favourites to anybody who looks at the repo. A MongoDB database would be great, but it creates problems with API keys being exposed and will make it difficult for users to test any changes involving accounts locally.

If you have any suggestions on how to tackle this problem, leave a comment on the issue!

THHamiltonSmith avatar Jul 18 '22 12:07 THHamiltonSmith