This small repository has use to store the front end test for MERCADO LIBRE
Prerequisites
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:
- Sass to handle all styles
- Ts as superset
To install and use the project you can run the following command:
yarn && npm run dev
npm run test
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.
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
- Add module Resolver for babel and avoid use relatives path