- Go to
/app/routes/calculate-basket/handleCalculateBasket.js
- On Line 5, replace 'API_KEY_HERE'` with the API_KEY provided
- Run
npm start
in the project root folder
Params are passed as queries in a GET request to localhost:3000/calculate
for example:
GET http://localhost:3000/calculate?items=Apples,Bread¤cy=USD
items: comma separated list
currency: USD | EUR | GBP