Giter Club home page Giter Club logo

migrado-libre's Introduction

Challenge

Don Miguel has been selling on Mercado Libre for 10 years, but he faces a unique challenge; he suffers from xanthophobia (fear of the color yellow), which causes him great stress when navigating the Mercado Libre website.

His son Ángel, who is a programmer, informed him that Mercado Libre offers an open API that allows product searches with specific parameters. Therefore, Don Miguel could create his own website to showcase his products. However, Ángel is relatively new to frontend development and isn't sure how to proceed.

Ángel heard that Next.js, TypeScript, and Tailwindcss are powerful tools that can make the job easier. He has prepared this project for us to collaborate on.

Resources

Ángel did some research and found that Miguel's store has a Seller ID of 179571326. He also discovered that Mercado Libre's API includes an endpoint for searching a particular seller's products, with the endpoint being https://api.mercadolibre.com/sites/MLA/search?seller_id=179571326. Additionally, he mentioned that by accessing this endpoint from a web browser, you can view the response in JSON format along with some information. The rest of the API documentation is available here.

Requirements

  • Upon visiting the / route, we should see a grid-style list of all of Miguel's products.
  • When visiting the /[category_id] route, we should see a list of products corresponding to that category.
  • On all routes, there should be a menu on the left displaying available categories. Categories should be displayed in a tree-like structure, meaning that if a category has subcategories, they should appear as a submenu.
  • Categories should start in a collapsed state, and clicking a - or + button should expand or collapse them individually.
  • Categories should retain their expansion/collapse state when navigating between routes.
  • Clicking on a category should navigate to the corresponding /[category_id] route.
  • Clicking on a product should redirect us to the Mercado Libre page for that product.

Example

Example

Note: The design is flexible, but it should be responsive.

migrado-libre's People

Contributors

beto23 avatar

Stargazers

Santiago Ortega avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.