An application which fetches & summarises all the restaurants in "Location near you" or the Location entered. Utilizing Yelp Fusion API, Google Map JS API, Places API.
This project was bootstrapped with Create React App.
- Nodejs ^v8.x.x
> cd <PWD>/src/Config
> nano index.js
module.exports = {
SEARCH_API_ENABLED: false,
GOOGLE_API_KEY: '<YOU GOOGLE MAP API KEY HERE>',
YELP_SERVER: 'http://localhost:4000',
}
> cd <PWD>/server
> nano .env
PORT=4000
NODE_ENV=PRODUCTION
YELP_API_KEY='<YOUR YELP KEY>'
> Go to project directory
> npm install
> npm run build // Production mode
> cd server // In new terminal
> npm install
> node index.js
> Go to http://localhost:4000
> Go to project directory
> npm install
> npm start // Development mode
> cd server // In new terminal
> npm install
> node index.js // start server for yelp service (to avoid CORS Issue)
> Go to http://localhost:3000
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
- Add Redux
- Search box for Mobile Header
- Use my location function in Mobile Header Button
- Add Full scale view on Mobile view when toggle is ON for Show map.
- Loading spinner on "app first load" & "use my location" functionality.