This is a Mercado Libre's clone made it with Nextjs, Typescript, Axios, ReactQuery, Tailwind.
The porpuse of the webapp is to clone the design of the original app. The app has not functionality at all. You can only search and view product info.
The tech stack used in the app is:
- React
- Next.js 12
- Typescript
- Tailwind
- Axios
- React-Query
- React-paginate
- React-image-magnfify
- Eslint
- Prettier
GET https://api.mercadolibre.com/sites/MLA/search?q=${searchParam}
Parameter | Type | Description |
---|---|---|
search param |
string |
Required. A string to make a search a retrive the products |
GET https://api.mercadolibre.com/items/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of the product to fetch data |
GET https://api.mercadolibre.com/users/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of the seller to fetch data |
GET `https://api.mercadolibre.com/products/${id}`
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of the product to retrieve attributes |
All this information is here and how to use it
https://developers.mercadolibre.com.ar/en_us/api-docs
Install my-project with npm
npm clone https://github.com/Marcos-Iorio/mercado-libre-clone.git
cd my-project
npm Install
npm run dev