Web application to search the CrUX data from Google BigQuery API for multiple websites
- React Frontend + TypeScript
- Node.js Backend
- Axios for client side api handling
- Express for Backend api route hanlding
- Bootstrap for styling on the Frontend
- nodejs-bigquery library for managing query requests to BigQuery Database
- Clone the project using
git clone <repo_url>
command - run
cd client && touch .env && cd ..
- run
cd server && touch .env && cd ..
- under
client/.env
add the following keyREACT_APP_API_BASE_URL="http://localhost:4000"
- under
server/.env
add the following keyGCP_PROJECT_ID=<your gcp project id>
- Download
service account credentials
from gcp and save it underserver/big-query.json
. Refer here for more - run
cd client && yarn install && yarn start && cd ..
to run client onhttp://localhost:3000
- run
cd server && yarn install && yarn start && cd ..
to run server onhttp://localhost:4000
- Search CrUX data for a url
- Tabular data of the result
- Sorting on data fields and you can set the sorting by clicking/toggling on any data fields
- Filter data by enabling/disabling certain metrics from the table to view only particular data
- Support CrUX data for multiple urls searching