Giter Club home page Giter Club logo

react-neighborhood-map's Introduction

My Neighborhood Map Project

This is a react application for finding places to visit in my neighborhood, Athens, Greece. You can search for places to eat, drink and more. Using the Foursquare platform you can read comments from other people who have visited those places.

Attention

If you don't get any data from the Foursquare api, and you the errortype 429, then the daily call quota exceeded. Try next day. Sorry :(

TL;DR

To get started:

  • download NodeJS if you haven't do so from NodeJS
  • install all project dependencies with npm install
  • start the development server with npm start

What You're Getting

├── README.md - This file.
├── package.json # npm package manager file. It's unlikely that you'll need to modify this.
├── public
│   ├── favicon.ico # React Icon, You may change if you wish.
│   ├── index.html # DO NOT MODIFY
│   └── manifest.html # DO NOT MODIFY
└── src
    ├── App.css # Styles for your app. Feel free to customize this as you desire.
    ├── App.js # This is the root of your app. Contains static HTML right now.
    ├── api
    │   ├── index.js # Provides functions that get data from the Foursquare API.
    │   ├── components
    │   │   ├── Header.js # This is the component that contains the header element and the button that opens the menu.
    │   │   ├── Main.js # This is the component contains that contains the main content of the page like the map etc.
    │   │   ├── Map.js # This is the component that contains the Google map
    │   │   ├── PinMarker.js # This is the component that refers to the markers of the map
    │   │   ├── SideMenu.js # This is the component that contains the input search field and the list of the results coming from the Foursquare
    │   │   └── SideMenuItem.js # This is the component that contains a location
    ├── data # A folder for the static data
    │   └── location-list.js # Here are the five default locations
    ├── 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.
    ├── registerServiceWorker.js # This is for caching assets and make the app accessable when there is no net or slow net. Dont modify it.
    └── .gitignore # This is for exclude thins to be saved on the repo.

Create React App

This project was bootstrapped with Create React App. You can find more information on how to perform common tasks here.

Using Service Workers

We are using the React default service worker, that works only in production mode.

In order to take benefit of the service worker you need to:

1.Build the application, using npm run build
2.Run a simple http server from your build directory, using serve -s build

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.