This project was created as part of a walk-through to demonstrate how to use Thunk and Redux in a React app.
This app uses the Foursquare API. To run it you'll need to obtain a ClientID and ClientSecret code from Foursquare. You can sign up at Foursquare Developers
Add the credentials to the credentials-sample.js
file in the helper
folder and save as credentials.js
In the project directory run:
or if you prefer to use npm, run:
This will run the app in development mode at localhost:3000
A live version of the demo is available at react-redux-demo.surge.sh/
The live version has Redux DevTools enabled so you can see how the Redux store changes as you interact with the app in the Chrome browser. If you do not have the Redux DevTools Chrome extension installed you can get it at Chrome Web Store: Redux DevTools
project folder
│
├── public
│ └── index.js
├── src
│ ├── actions
│ │ └── index.js
│ ├── components
│ │ ├── App.js
│ │ ├── Categories.js
│ │ ├── Locations.js
│ │ └── RestaurantList.js
│ ├── css
│ │ └── app.css
│ ├── helpers/utils
│ │ ├── apis.js
│ │ ├── credentials.js
│ │ └── data.js
│ ├── images
│ ├── middleware
│ │ ├── logger.js
│ │ └── index.js
│ └── reducers
│ └── index.js
└── README.md