gabrysia694 / Gym-Junkies

This website allows users to add their favorite exercises with a video demonstration and step-by-step instructions on how to perform the exercise. We would greatly appreciate it if you could give a star to our project :star:
https://gymjunkies.netlify.app
MIT License
75 stars 121 forks source link

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

Open mshamir11 opened 1 year ago

mshamir11 commented 1 year ago

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.

gabrysia694 commented 1 year ago

Definitely a great idea to make our website more user-friendly, especially to non tech users! Developing a compact login system and a content review mechanism is way beyond what I can currently do but I can contribute by creating a nutrition-focused page next to the existing Docs and Guide sections. Let's see if anyone else has any feedback they want to share

haldaranup commented 1 year ago

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.

Wow, sounds very interesting, we should do this. Firstly we can go for the first point and slowly we can go for advanced features as you mentioned it will take effort but worth doing.

Bashamega commented 1 year ago

Hello:) I will be able to do that, but we will need a database (I suggest firbase) to store it in, since the json file can not be edited. I can work on that, and sync all the data, to a database that I will create it.

Bashamega commented 1 year ago

Hello:) I will be able to do that, but we will need a database (I suggest firbase) to store it in, since the json file can not be edited. I can work on that, and sync all the data, to a database that I will create it.

If you don't feel comfortable using firebase, we can try sending the data to an email, for example yours, using a service, and then you can add it. but it requires your email, and you will have to actively check your email

Bashamega commented 1 year ago

@gabrysia694

gabrysia694 commented 1 year ago

Hello:) I will be able to do that, but we will need a database (I suggest firbase) to store it in, since the json file can not be edited. I can work on that, and sync all the data, to a database that I will create it.

If you don't feel comfortable using firebase, we can try sending the data to an email, for example yours, using a service, and then you can add it. but it requires your email, and you will have to actively check your email

Setting up a database sounds like a better solution, I hardly ever check email. If you're willing to work on that, it's all yours!

Bashamega commented 1 year ago

Hello:) I will be able to do that, but we will need a database (I suggest firbase) to store it in, since the json file can not be edited. I can work on that, and sync all the data, to a database that I will create it.

If you don't feel comfortable using firebase, we can try sending the data to an email, for example yours, using a service, and then you can add it. but it requires your email, and you will have to actively check your email

Setting up a database sounds like a better solution, I hardly ever check email. If you're willing to work on that, it's all yours!

Thanks:) I will be delighted to work on it, please assign me as soon as possible