Code Monkey home page Code Monkey logo

placearch's Introduction

Placearch

This was the last project built for the Udacity Front-End Nanodegree. The objective was create a map, with a list of locations, near by your neighborhood, using React.

Live Preview

You can click on this emoji to see the live demo of this project

Also, if you want to know, how my brainstorm was start, you can visit the Trello-Neighborhood React App, although the most part are in portuguese.

Instructions

To get started developing right away:

  • install all the dependencies with

npm install

  • start the development server with

npm start

  • This app can be view in the localhost:

http://localhost:3000/

What you are getting, when install the repository on your computer

├── README.md - This file.
├── package.json # npm package manager file. It's unlikely that you'll need to modify this.
├── .gitignore # containing the all files that must be ignored
├── package-lock.json
├── public
│   ├── favicon.ico # the icon for the tab
│   ├── manifest.json
│   └── index.html # DO NOT MODIFY│
└── assets
    ├── screenshot1.png 
    ├── screenshot2.png
    ├── screenshot3.png
    ├── screenshot4.png
└── src
   ├── App.css # where the styling for this app are
   ├── App.js # Where the template is
   ├── App.test.js # Used for testing. Provided with Create React App
   ├── registerServiceWorker.js # The service worker provided by create-react-app
   ├── components # The paste containing all the components that I used for this app
   │   ├── map.js # where the map component and setup is
   │   └── places.js #  where the list with the locations setup are
   ├── index.css # Global styles. You probably won't need to change anything here.
   └── index.js # You should not need to modify this file. It is used for DOM rendering only.

Considerations

This project was bootstrapped with Create React App. You can find more information on how to perform common tasks here . To load the Google Map, I used react-google-maps And to fetch the API Foursquare, I used the superagent package

ScreenShots

When you open the app this is the view you are going to have: one side you will have a list with all locations choosen, and in the other side you will have the map

alt text

I changed a little bit the style of the things, and I decided to create a div to put the name of the marker, my idea was changed the InfoWindow, but I like it that way; you are able to click on the red markers to see the name of the locations

alt text

And if you want it, you can search the locations typing the name, and clicking them.

alt text

Important

  • Please be aware, that I redo this project for so many times, that I exceed the request quota for this API key (Google), so if you want to see the markers you need to use your own API key.

  • Also, please note the service worker only works in production mode. To build the app for production run:

npm run build

Contributing

This repository was created by me, from scratch. Therefore, I will accept pull request, and open issues. But please, don't merge a pull request.

Authors

Design the markers, and the idea, palette of colors, fonts: Catarina Veiga

placearch's People

Contributors

catveiga avatar dependabot[bot] avatar

Stargazers

 avatar

placearch's Issues

Google is not defined

When press F5, the app crashes and appears an error saying "google is not defined".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.