Skip to content

Ditiite/neighborhood-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neighborhood-map-udacity (React.js)

This project is part of Goole Udacity Front-End Web Developer Nanodegree Program. The main goal is to use any map providing API plus one more third-party API. Should display by our choice our best neighborhood and best destinations. For this project have chouse to display beautiful castles in Latvia.

How to run in development mode

  • fork the project
  • run npm install

Build production version

  • npm run build

Running production server

  • python -m http.server --directory build or
  • serve build

Service worker

Service worker provides caching for local contents as well as dynamically added content such as google maps, 3rd party font,css etc.

Service worker is disabled for development. In production mode it is enabled. For more information about this service worker visit this site

(ToDoo: add following lines after passing the submition and replace my key with placeholder API_KEY:

  • Please provide your own Google Map API.
    • You can do it by following this link Google Map API key
    • To get open weather API please follow this link OpenWeatherMap
    • Once you got your keys please place them in places markerd as API)
  • To run aplication in localhost, in command line type: npm start
  • open localhost:3000

Build with:

  • create-react-app
  • google-maps-react library
  • used API's
    • Google Maps API
    • Open Weather Map API
  • Map style from : Snazzy Maps

Udacity style guide

Known issues

The map is not rendered due to changes in API(not for free anymore).

Author

Dita Rahmane