nunerajender / yelpbii_task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

*******Yelpbii app******

Description:

Yelp is a service similar to Zomato in India. It allows users to find any kind of “service” near a geographical area specified. We would be creating a few visualizations on top of Yelp data to display restaurant related information near san francisco.

Problem Statement:

  1. Create a Restaurants API

  1. Create a model for Restaurants

  2. Model should load data by calling external service DataFetch.get_restaurents

  3. After data is loaded from external service, model should parse data & extract

>>>> following fields

  1. Restaurant Name

ii. Restaurant Reviews Count iii. latitude iv. longitude

  1. city

vi. state vii. Zip Code viii. Avg Rating

>>>> d. Create a Restaurant API by creating index method on RestaurantsController

  1. It should return an array of all restaurants returned by External Service

ii. Call to /restaurants.json iii. Format of response would be [ { “restaurant_name”: “Sarvanna Bhavan”, “review_count”: 30, “address”: { “latitude”: <LAT>, “longitude”: <LON>, “city”: <City>, “state”: <State> “zipcode”: <ZIPCODE> }, “rating”: <0­5>, } ]

About


Languages

Language:Ruby 79.9%Language:HTML 14.1%Language:CSS 3.0%Language:JavaScript 1.8%Language:CoffeeScript 1.2%