To create Web Service that provides basic analytics over taxi data.
The live data can be obtained from BigQuery at Chicago Taxi trips.
We will use only the following tables:bigquery-public-data.chicago_taxi_trips.taxi_trips
-
Set up the Google Cloud Project by steps, https://developers.google.com/workspace/marketplace/create-gcp-project
-
Installing Google Cloud SDK by following steps, https://cloud.google.com/sdk/docs/install
-
Creating Service on Google Cloud Enviornment for BigQuery:
- Navigate to browser tab, and Open Google cloud
https://console.cloud.google.com/
- Login by entering your credentials
- On the left Panel, Click Google Cloud Platform go to IAM & admin and then
Service Accounts
. - Create New Service Account by clicking
CLick Service Account
. Fill in the details Service account name and description and hit create. - Select Role from DropDown
BigQuery
and under that selectBigQueryUser
- After this, set the Service account users role by setting your <email_id>
- For Create Key. Goto Google Project Service and select the service created .
- Under tab
Keys
add keys and download it in json format to the local System.
- Navigate to browser tab, and Open Google cloud
-
Setting up the local Env to run the application:
- Clone the project from github by git clone
- To set the key for GCP for Bigquery.Open
user_config.ini
- Set filename to path of the Downloaded Json Key file.
-
Run
sh install.sh
which would set the localhost on port 8080. Please make sure that port 8080 is not in use.