Closed Guitarhub786 closed 3 years ago
hello @Guitarhub786 I think you did an amazing job for our Readme.md; it is simple but to the point. I see that @mokokom also contributed to this - Awesome work guys! 👍
@snrelghgub Thank you. I was happy with the features like the 'Table of contents'. However, I have simplified the file and taken on board @willnwhite suggestions that 'Table of contents' would suit a much larger project. He also suggested trimming down the 'Setup' as some of those instructions are build into Github.
hello @Guitarhub786; I reviewed your Readme.md again & here are some of my few suggestions for improvement:
-I suggest capitalizing the word API through your documentation since API is not a word but an acronym
-I recommend the addition of the following checkboxes under the 'Features' section:
UI/UX feedback & standards (since our app successfully provides the useful Output on loading & valid or invalid input & it was developed to meet at least a minimal UI/UX standard as researched & set by me + it was also reinforced during our reviewal process by everyone else on the team to improve user satisfaction)
Controlled Output (that would practically be a fancy but correct terminology to represent the fact that search results display with a function that renders a set of a card on a request-by-request basis to create an infinite scroll effect & as coded by @willnwhite )
Google Authentication (since our app nicely allows users to log in conveniently using Google credentials & as implemented by our brave teammate @ArunJose )
Responsive Menu or Mobile Menu (as implemented by myself & very nicely reviewed by you & @mokokom & to provide a better quality mobile user experience to include animations, sliding effect & where a user doesn't have to rely on one specific close button & can very conveniently click away to close it)
Feel free to refactor & merge my suggestions as you see fit with what is there already Cheers
I also suggest: -the removal of "LIVE BETA LINK" as the objective of a beta link is only for development purposes to be used by developers or users we wish to give access to, to test & report issues during the final stages of development; One "LIVE LINK: " of our production deployment for demonstration purposes shall suffice. -a screenshot of our app, preferably a GIF animation but an image alone showcasing the project in the best way you can visually is also definitely a must have Cheers
Sorry about all these "starting review" comments. I don't understand the feature!
"UI/UX feedback & standards" isn't a feature as such but it does deserve being talked about. "Controlled Output" would be covered by "Infinite Scroll"
suggestions often lead to better decisions & I agree 100% with your inputs
@Guitarhub786 As a rule of thumb, features need be promoted before providing installation instructions, please review the order of the information presented in our Readme & also suggestions for improvements you have ignored & not implemented yet in my previous comments.
// Add your own API keys here
isn't necessary. If it's needed please double check on .env comment syntax. In most places .env comments is shown to start with a #
. Please make sure this works locally before adding to documentation.Team developers are in alphabetical order.
I'm going to try to exclude the non-README files from this PR.
I'm going to try to exclude the non-README files from this PR.
I thought Case 3 on https://ffeathers.wordpress.com/2020/03/21/removing-an-updated-file-from-a-pr-on-github/ would work but it didn't. I have force-pushed the branch back one commit for now.
Team developers are in alphabetical order.
That's a great idea, Sorry I didn't notice your comment until now; it is worth mentioning (in alphabetical order) above developer list if it is the case 👍
The GIF is too slow so I'll speed it up.
@willnwhite The current version of setup section gives out the impression that API key and client ID are optional for our app. I've rewritten the section with the changes I would like.
You'll need npm to install the project's dependencies.
Create an API key for accessing Google Books API and OAuth Client ID for using Google login. When making the client ID, set the origin URI to match the app's URI (http://localhost:3000 by default).
Clone this repository.
Now run:
npm install
Create a .env file in the project's root directory, which has this format.
REACT_APP_GOOGLE_BOOKS_API_KEY=MY_BOOKS_API_KEY
REACT_APP_GOOGLE_CLIENT_ID=MY_CLIENT_ID
Replace MY_BOOKS_API_KEY
with your API key, and MY_CLIENT_ID
with your OAuth Client ID.
Now run:
npm start
This should start the project in a new browser window.
@ArunJose I figured that the only reason someone would run the app on their own computer would be to develop it, as the app is already available online for users. The API key and client ID aren't necessary if you want to eg develop the styling (the app still starts up without them).
@willnwhite You're right the app will start without API key and Client ID. But we are writing documentation for a someone to run the current version of BooksPlus app locally with its full features mentioned in the features list.
If API key and client ID are to be skipped, it should be mentioned what functionalities one would lose as someone cloning and running this project will not have prior idea why some of the features aren't working.
But we are writing documentation for a someone to run the current version of BooksPlus app locally with its full features mentioned in the features list.
This part of the readme is for developers only, not for someone who wants to have the full features of the app out of the box.
@willnwhite I think even for developers it's expected behaviour that app would function with its full features after going through offical installation instructions.
I believe these instructions should be meant for anyone who would like to run a copy of this app locally, irrespective of their intention to develop this further, or their level of Javascript knowledge.
One scenario is that the deployment link is broken or API key/Client ID is invalid/blocked, and someone would just like to run the app locally to see it working.
Also I think we shouldn't discard possibility of someone who just want test this out before making an independent deployment without any intention to modify the app.
It's fine if you want to mention that the app will run without setting environment variables set but in that case it should be mentioned what features will not work as a result. Otherwise after installation one will have to figure out why the login button has become unresponsive and mistake it as a bug until they go through code to understand what's happening under the hood.
I asked @jdmedlock to review and he agrees with @ArunJose that the API key and client ID shouldn't be optional, so I've used @ArunJose's re-write from comment https://github.com/chingu-voyages/v24-geckos-team-02/pull/76#issuecomment-731732145. Ready for review!
Nice catch @ArunJose!
@mokokom Thanks for the commit. I have refactored your contribution. Please call out if you want anything changed.
// FROM
// TO