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

quotes.js missing in quotesweb/src/components? #3

Open
malar036 opened this issue Apr 10, 2023 · 3 comments
Open

quotes.js missing in quotesweb/src/components? #3

malar036 opened this issue Apr 10, 2023 · 3 comments

Comments

@malar036
Copy link

Hi Don,

Thanks for the demo below, I wanted to play around in a openshift sandbox environment and used the online version to spin up some tests. Your guide is very educational and easy to follow. At first I got stuck on the URL change for quotes.js but as it was fairly optional I decided to proceed to the end and complete the tutorial without being able to adjust the fetch URL.
https://developers.redhat.com/developer-sandbox/activities/learn-kubernetes-using-red-hat-developer-sandbox-openshift

"To do this, move into your "quotesweb/src/components" directory and change the file "quotes.js". Substitute your URL in the following line of code (it's line 26):

fetch('your-url-goes-here')"

Just as I was writing this query I found out that the front-end is asking for the specific service URL to be added, and viola the random quotes appeared! Mission complete.
But it was not very clear by following the guide that adjusting the quotes.js "fetch" Url was no longer needed and input from the frontend web was the way to go. I did spend some extra time scratching my head if something had changed and why I did not have the specified component folder in my git download. Unfortunately I did not spend much time inspecting the frontend

Regards
Martin

@DonSchenck
Copy link
Collaborator

DonSchenck commented Apr 10, 2023 via email

@DonSchenck
Copy link
Collaborator

DonSchenck commented Apr 10, 2023 via email

@malar036
Copy link
Author

Thanks for the replies 👍

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

No branches or pull requests

2 participants