Udacity FEND Nanodegree Program - Project #8
- Specification
- How to view
- Souces used in code
- Info material
- Image Credits
- Discover Japan Wiki
- App development based on
Neighborhood Map: Discover Japan is a single page application featuring a Google map of interesting places in Japan. Each place is shown by default with an individual maker. There is a marker type for historcal towns, for zen garden, for temples and for bamboo gardens. Clicking on one of the markers will open the Google InfoWindow containing information about that place.
The InfoWindow content includes:
- Title of place
- A thumnbail image
- A link to the Wikipedia Website
- A link to the Website
- A Wikipedia excerpt using the Wikipedia API
The app provides a filter option that uses an input field to filter both the list view and the map markers displayed by default on load. The list view and the markers update accordingly in real time. Please note, that due to legal restrictions the Google Map individual styling is not working for Korea. Hence the map looks different in these aras at certain zoom factors. If something goes wrong in the process of either loading the Google API, or with the WikiPedia API, different error windows and / or messages are shown.
- Clone the repo using this command:
git clone https://github.com/cimwies/myreads.git
- Install
- Dependencies: Node.js v0.12.7 or above
- Then checkout the project and run:
npm install
- Running
npm start
- Using the app
With your server running, visit the site: http://localhost:3000
, and discover some intersting places in Japan.
PLEASE NOTE: The service workers for this app will only cache the site when it is in production mode.
- First run the command
npm run build
- Navigate to the build directory and run a localhost server. If you have Python 2.x installed you can run the Python Simple Server like this.
python -m SimpleHTTPServer 8080
For Python 3.x, the command is:
-m http.server 8080
- Navigate to http://localhost:8000 in your browser
- React JavaScript library
- GoogleMaps API
- Wikipedia API
- module: prop-types
- module: google-maps-react
- module: react-router-dom
- Icons credit to Flaticons
- A complete list of all image credits is on this repositories Wiki Page Sources