Firstly, clone the repo
then run the following commands
yarn install
yarn run dev
Open a browser window on localhost:3000
~5–6 Hours.
I like how the code is organized as an initial POC. Components are well structured and is are composable. I like the design direction, the visual design as well as the simple UX. I like the use of custom hooks to abstract functionality.
- I'd use context to hold global state about the API, such as authentication, api key, base url, etc.
- I'd made it more data driven. Right now, there's a lot of hardcoded decisions.
- Improve the UX of executing queries and the overall discovery of API (add search)
- The design of the fetch module is clunky and can be reimplemented much better
- Handle error states
- Allow for passing a link or uploading a JSON/YML file for the API Spec.