- To run node service you need to have node and npm installed.
- Go to node folder.
- run
npm run install
. - This will install all dependencies.
- After that run
npm run start
to run our application.
- To run web service you need to have node and npm installed.
- To run development server of react you need to install react-scripts. That is done using
npm install -g react-scripts
. - run
npm run install
. - This will install all dependencies.
- After that run
npm run start
to run our web application.
All our dependencies and api tokens are in the code itself.
- Go on the interface and click on any location near which you want to obtain the restaurants.
- Then click on
get restaurants
button to get a list of restaurants. - After that a list of restaurant will be shown.
- I am not showing what location you have selected. I wanted to show a marker whenever you click on some particular location. Then it would have been easier for user to see what the are actually looking for.
- I am also not showing location markers for restaurants which also would have been helpful to the users. Adding a marker is possible in mapbox's api. But it was taking too much time hence decided to not do that right now.