Skip to content

Latest commit

 

History

History
60 lines (54 loc) · 2.46 KB

README.md

File metadata and controls

60 lines (54 loc) · 2.46 KB

Ski Resorts Guide Map

For Users

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.

Live Version:

https://emma319.github.io/SkiResortsGuideMap/

Get Start

  1. Clone this repo with git or download and extract via zip
  2. Open terminal and change directory into this project root
  3. Install node and npm
    To get started in development mode will need all dependencies:
    • Install all project dependencies with npm install
  4. Start the development server with npm start
  5. Open http://localhost:3000 to view it in the browser.
    To get started in production mode by using the following commands:
  6. Builds the app for production to the build folder. npm run build npm install -g serve serve -s build
  7. Open http://localhost:5000 to view it in the browser.
  8. Have Fun!!

Design

  • 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/>