Display list of products using React Native.#66
Open
jarod-legault wants to merge 1 commit into
Open
Conversation
- Initialized React Native. - Installed `axios`. - Added fetching of products using `axios`. - Update Android and iOS icons. - Created `Product` component. - Update styling to use Wave colors. - Added Wave logo to header. - Added `ActivityIndicator` to display when fetching products. - Updated `README.md`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wave Software Development Challenge
I used React Native (functional components with hooks) to create a cross-platform (Android & iOS) version of the app. I used the
axiospackage for the HTTP client, and stored the source files in a "/src" folder to keep things organized. This is probably not necessary at this point, but for a production app it would be much needed. In a production app I would have stored the business ID and access token in aprocess.envfile, but I left it in the source code so the app would be useable for those reviewing the app at Wave.A few things I am proud of:
ActivityIndicatorwhen fetching the products.Here is how the app looks on Android:
Screen.Recording.2021-10-12.at.12.02.59.AM.mov
And on iOS:
Simulator.Screen.Recording.-.iPhone.12.-.2021-10-11.at.23.32.35.mp4
I really enjoyed working on this app and I look forward to discussing it with you soon.