To develop: Search bar, results and product detail
Client: React and Sass modules. Server: NodeJs and Express.
1:| Clone the repository or download the zip file
$ git clone [email protected]:Mscebba/meli-challenge.git2:| Go to client folder and install dependencies with npm
$ cd client$ npm installor using yarn
$ yarn3:| Do the same inside server folder. From client folder type the following:
$ cd ../server$ npm installor using yarn:
$ yarn4:| To run the application (server and client), start running the server from server folder:
Using npm
$ npm run serveror using yarn
$ yarn server5:| Then in another terminal go to the client folder and start the client
$ cd clientUsing npm
$ npm run startor using yarn
$ yarn start6:| To run the tests, inside the client folder type:
Using npm
$ npm run testor using yarn
$ yarn test