This app was created as a final project for the Udacity Front End Developer Nanodegree program. It is a single page application featuring a map of an area I would like to visit. I have added functionality to this map including highlighted locations, third-party data about those locations and various ways to browse the content.
The app displays five North GA Hikes on the left sidebar. The Map displays where these hikes are located with markers. When a user clicks on the map markers an info window will open displaying additional info about the hike including a description and an image. Clicking on the map marker a second time will close the info window and stop the map marker's bouncing animation.
There is a filter field above the list of trails that can be used to filter the trials by trail name. When the list is filtered the markers are also filtered on the map so that only the trails listed in the sidebar will have a marker on the map appear.
I installed and used two npm packages in addition to the npm packages that come with the create-react-app package including sort-by and escape-string-regexp for the sorting functionality used in the filter field.
I pulled my map of North GA from the Google Maps API (https://developers.google.com/maps/documentation/javascript/examples/) and I pulled information on the trails from The Hiking Project Data API (https://www.hikingproject.com/data).
- Clone the project repo from GitHub.
- Install all project dependencies with the npm install command in the terminal.
- If you do not have npm installed on your computer you will need to download it from here: https://www.npmjs.com/get-npm
- Build the app for production by entering the commmand npm run build in the terminal.
- You can run the build in development mode by entering the command npm start, but the service worker will not work.