This application shows some popular ski resorts in Lake Tahoe area.
- Click Introduction button on top-right corner to see the synopsis of Lake Tahoe.
- Open the full list of ski resorts by clicking the List button next to introduction button.
- Filter the list by typing the name in the search field.
- Click the name on the list to see the location on the map and open its information window.
- The content of information window shows a photo of the ski resort.
https://emma319.github.io/SkiResortsGuideMap/
- Clone this repo with
git
or download and extract via zip - Open terminal and change directory into this project root
- Install node and npm
- Install all project dependencies with
npm install
- install
prop-types
withnpm install --save prop-types
- install
react-debounce-input
withnpm install --save react-debounce-input
- install
escape-string-regexp
withnpm install --save escape-string-regexp
- install
sort-by
withnpm install --save sort-by
- install
axios
withnpm install --save axios
- install
- Install all project dependencies with
- Start the development server with
npm start
- Open http://localhost:3000 to view it in the browser.
- Builds the app for production to the build folder.
npm run build
npm install -g serve
serve -s build
- Open http://localhost:5000 to view it in the browser.
- Have Fun!!
-
This project was bootstrapped with Create React App.
-
Dependencies and API used in this project:
- React
- bootstrap
- axios
- prop-types
- react-devounce-input
- escape-string-regexp
- sort-by
- Google Maps API
- FourSquare API
- WikiPedia API
-
The methods to get API from Google map, FourSquare and Wikipedia is provided in file
API.js
. -
The component struction created as follows:
<App/> <Header/> <IntroDiv/> <Main/> <MapDiv/> <NavBar/> <Footer/>