This project was bootstrapped with Create React App.
In the project directory, you can run:
This will install dependencies.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
There are two notable directories in this project:
These are standard react components with no business logic, purely for display purposes on the UI.
These are a collections of services which interact directly with the state of the app.
The OpenSeaEventService is responsible for storing state, and App.js subscribes to updates from this service, which in turn updates all the props throught the app. The UserService is responsible for detecting Web3, or an anon user, and adding comments to the eventStore in the OpenSeaEventService.
How much time you spent on design implementation, framework setup, API connection, and interactive components / UX
Most of the time here was spend deciding which react component library to use. I decided on Semantic React UI because of the look and feel of their Feed component.
Using create-react-app I had the framework up and running in minutes.
Simply done in the OpenSeaEventService with a fetch, more time was spent on picking out attributes to store in the eventStore.
Hooking it all together took, understandly, the most amount of time.
I took about one hour to manually test the app to find any edge cases I may have missed during development.