Skip to content

Bienvenido al test práctico para aspirantes al área de front-end de Mercado Libre.

Notifications You must be signed in to change notification settings

jhonalx018/ml-test

Repository files navigation

MERCADO LIBRE CHALLENGE

This small repository has use to store the front end test for MERCADO LIBRE

💾 Technical requirements

Prerequisites

  1. Nodejs
  2. npm | yarn
  3. NextJs

Frameword NextJs

Next.js gives you the best developer experience with all the features you need for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.

In this setup Nextjs has tow additional configurations:

  1. Sass to handle all styles
  2. Ts as superset

🚀 How to use it (Build)?

To install and use the project you can run the following command:

yarn && npm run dev

Unit Test

npm run test

Notes

This and example of the integration and api from Mercado Libre with a NextJs ecosystem. We handle all the api calls for the own backend that NextJS give us this backend has si own nodejs ecosystem.

Api considerations:

Valid Endpoints: Default hostname localhost:3000

Search Request get Products GET {hostname}/api/search?q=adidas&limit=1

Get product Information GET {hostname}/api/items/MLA878809844

Front Preview

ml_1

Api Request Preview

ml_api

Improvements to be made

  1. Add module Resolver for babel and avoid use relatives path

About

Bienvenido al test práctico para aspirantes al área de front-end de Mercado Libre.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published