Mercado Livre Search

Dependencies

  • Node.js
  • yarn



Configuration

Create the .env file into server path and add the following properties

PORT=7000



How to run the server

Go to server path

cd server

Install dependencies

yarn

Init the server in development mode

yarn dev




Use API

  • Search Products: Open http://localhost:7000/api/items?q={your_query}
  • Product Detail: Open http://localhost:7000/api/items/{product_id}





How run the client


Go to server path

cd client

Install dependencies

yarn

Run project

yarn start