Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch Data from Google Sheet #3

Open
mohammed786 opened this issue Sep 28, 2020 · 5 comments
Open

Fetch Data from Google Sheet #3

mohammed786 opened this issue Sep 28, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@mohammed786
Copy link
Collaborator

Currently, this portal is fetching the data from the local file, need to add the feature of fetching the data from excel sheet, the fields of sheets can be same as the attributes of a JSON object in the constant.js file.

@mohammed786 mohammed786 added enhancement New feature or request hacktoberfest labels Sep 28, 2020
@utk0730
Copy link

utk0730 commented Sep 29, 2020

Hi Mohammed,
may i work on this issue ?

@mohammed786
Copy link
Collaborator Author

Sure @utk0730 You can take this up.

Also, If you Contribute to LoginRadius Open Source. As part of hacktoberfest, LoginRadius is also giving free swags and goodies to its contributors. Please check out our Hacktoberfest Page and fill the form mentioned there to become eligible for free swags. :)

@utk0730
Copy link

utk0730 commented Sep 30, 2020

So all the files with hardcoded data in constants folder needs to be served from google sheet, let me know if i am right on this.
Approach:

  1. reading the different file data into different google sheet by using ImportJson function of google sheet, publish sheet url and call in in front end to fetch data into respective components
  2. Not-nested json data seems to be clear approach (people data, talk data, open source data etc)

Suggestion:

How do u suggest me to structure the nested data into google sheet. (example :hackathon data)

@utk0730
Copy link

utk0730 commented Oct 2, 2020

@mohammed786 Let me know your thoughts ⬆️

@mohammed786
Copy link
Collaborator Author

Hey @utk0730 ,

Your approach looks good to me, you can go ahead with the non-nested data, and call the ImportJSON function of google sheet in a front end to fetch the data into the respective component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants