Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 3 KB

File metadata and controls

48 lines (41 loc) · 3 KB

MyNeighborhood

My Neighborhood

Project Overview

The goal was to create a project from scratch using React and Google Maps JavaScript API. Besides that, some requirements was to add functionality using third-party APIs to provide information when a map marker or list view entry is clicked; Implement a list view of the set of locations; Provide a filter option; Display map markers identifying at least 5 locations; Overall, the application's interface should be intuitive to use; All data API's used in the application should load asynchronously, and errors should be handled gracefully;

About

Content:
I decided to show some of my favorites René Magritte and Salvador Dalí paintings from Surrealism movement(1920s). I hope to see all these paintings in person someday. 🙏
There is a mark for each of these paintings and also two marks in the middle of nowhere to say something about the artists. The project fetches data from a custom Google Fusion Tables, Wikipedia from Wikimedia REST API and Maps from Google Maps JavaScript API. The Service Worker used here is the one provided by Create React App. 👍

Tools:
Some tools that helped me a lot:

  • create-react-app
  • react-google-maps
  • react-burger-menu

Instructions

You can clone or download this repository.

To run dev environment:

npm install
REACT_APP_API_KEY=YOURGOOGLEMAPSKEY npm start (Linux, macOS - Bash)
set REACT_APP_API_KEY=YOURGOOGLEMAPSKEY && npm start (Windows - cmd)

To test build files:

  • remove the line 5: ["homepage": "https://dekisr.github.io/Udacity-FrontEnd-P05-MyNeighborhood",] from the package.json file
  • npm run build
  • cd build
  • use some tool to serve a local server like http-server

E.g.
npm install http-server -g
http-server -p 8000
You can change the 8000 to any port you want

Resources