Gym-Junkies icon indicating copy to clipboard operation
Gym-Junkies copied to clipboard

How can we cater the website to non tech people for adding exercise

Open mshamir11 opened this issue 1 year ago • 7 comments

Background At present, the steps involved to add new exercise is not user friendly. Need to have a GitHub account. Need to fork the repository. Propose the changes. One has to do code review before pushing. It may be a bit intriguing for a non tech user who has not been used to GitHub.

Approach to fix this

  1. How about we create a new page where we take the relevant inputs from a user. --> The user can be anonymous. But, I fear there may be some one who wants just to spam. or --> Create a small login system. Can use google auth2 for the same. To verify a user for contributing.

  2. To review the content: --> One way can be to use GitHub APIs in the backend to raise a pull request for the user once he send for approval. --> Another way can be to have is to use a separate admin page. Where we could see the contents. Once approved. It can get automatically merged into the database.

My thoughts to bring in this is. May be we could expand the website for having diet which Gym folks use (home made diet tips), Gym plans, Diet plans, etc. If we want more people to contribute. There should be an easy way.

Others please let your thoughts here and also if it is relevant problem. It's not small feature. Will require some effort introduce these.

mshamir11 avatar Apr 27 '23 02:04 mshamir11