Skip to content

Display list of products using React Native.#66

Open
jarod-legault wants to merge 1 commit into
wvchallenges:masterfrom
jarod-legault:product_list
Open

Display list of products using React Native.#66
jarod-legault wants to merge 1 commit into
wvchallenges:masterfrom
jarod-legault:product_list

Conversation

@jarod-legault

Copy link
Copy Markdown

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 axios package 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 a process.env file, 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:

  • Using the Wave logo as the app icon.
  • Displaying the Wave logo in the header.
  • Displaying an ActivityIndicator when 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.

- 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`.
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

Successfully merging this pull request may close these issues.

1 participant