This is a project of data warehouse built on BigQuery using dbt with serverless.
- Add service account crediental file in folder
/secrets
with file namingdbt-admin_credential.json
- Build Docker image
docker build -t data_warehouse_bq_dbt:latest .
- Run Docker Container
sh ./start.sh
- (Optional) Use OpenAPI documentations
To access from your browser, navigate to: http://localhost:5000/docs
- Add service account crediental file in folder
/secrets
with file namingdbt-admin_credential.json
- Run Docker Container
sh ./dbt_start.sh
- Run DBT commands in Docker Container
cd /dbt # Example (can refer to dbt_script.sh) dbt debug --profiles-dir .
- (Optional) Generate DBT documentations
dbt docs generate --profiles-dir . dbt docs serve --profiles-dir .
To access from your browser, navigate to: http://localhost:8080
- Reference:
- DBT Offical Docs
- Structure / Coding Style
- DBT with BigQuery
- DBT Guidance
- Run Docker Container
sh ./app_start.sh
- Run FastAPI server in Docker Container
cd /app # install python packages pip install -r requirements.txt # run FastAPI server python main.py
- (Optional) Use OpenAPI documentations
To access from your browser, navigate to: http://localhost:5000/docs
- Reference:
- Run Docker Container
sh ./cube_start.sh
- (Optional) Use Cube.js playground site to query data
To access from your browser, navigate to: http://localhost:4000
- Reference: