First, clone the repo:
git clone https://github.com/fveracoechea/fed-technical-assessment.git
cd fed-technical-assessment
Second, install dependencies:
npm i
# or
yarn
Then, run the development server:
npm run dev
# or
yarn dev
Calculate the diameter of the sun using a binary tree and bubble sort...that was a joke!
Develop a simple product detail page following the next requirements:
-
Fetch product data from
/api/product
endpoint, and handle possible errors. -
Using the product data render the following details:
- Primary image
- Title
- SKU
-
Render two lists of variation values classified by type (Size and Finish)
-
The component should have 3 possible results:
-
Make it adaptable for mobile view. (Optional)
- No npm installs
- Code optimizations and reusability
- Type safety
- The fewer re-renders the better