Coder Social home page Coder Social logo

bfeister / nearby-restaurants Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elharony/nearby-restaurants

0.0 0.0 0.0 1.19 MB

React-Based Web Application to find nearby Restaurants using Google Places API

HTML 4.75% JavaScript 75.39% CSS 19.86%

nearby-restaurants's Introduction

Nearby Restaurants

A React-Based Web Application to find nearby Restaurants using Google Places API

Features

  • Display X places by default using a static location (Near Eiffel Tower)
  • Ask for the User Location using Geolocation API
  • Center the map to the user's location & Update the places according to the user location
  • Each place has an Image, Address, Phone, Total Rating, Reviews
  • Sort Places by Reviews (Highest, Lowest, Randomaly)
  • Show All Reviews for the selected place
  • Add New Review for the selected place
  • Add New Place; It will be added to the Places List & New Marker on the Map

Getting Started

  • git clone https://github.com/elharony/Nearby-Restaurants.git
  • cd Nearby-Restaurants
  • npm install
  • npm start or yarn start

The app will work on your localhost! ๐Ÿš€

API Usage

This project relies on Google Console API, it's paid and I couldn't offer the API KEY in the project directly. That's why you have to create your own API KEY, and use it within the project to run it. Please follow the instructions below to add your own API KEY:

  • In the root directory, create a new environment file, called .env
  • Copy/Paste the following line:
REACT_APP_GOOGLE_MAPS_API_KEY = "PASTE_YOUR_GOOGLE_MAPS_API_KEY_HERE"

Make sure to replace PASTE_YOUR_GOOGLE_MAPS_API_KEY_HERE with your Google Maps API Key!

Inside The App

Nearby-Restaurants

Contributing

This is my 7th Project in The Front-End Developer Diploma at OpenClassrooms, and there's no need to contribute to this project. But if you're interested, you can Fork it, and build something cool upon it!

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.