Skip to content

Commit 436b258

Browse files
committed
starts adding deploy to heroku button
1 parent 3bc4302 commit 436b258

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server/node_modules

server/Dockerfile renamed to Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM node:18
33

44
WORKDIR /usr/app
5-
COPY ./ /usr/app
5+
COPY ./server/ /usr/app
66

77
RUN apt-get update && apt-get install -y \
88
python3 \

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
- [GET `/metrics`](#get-metrics)
1111
- [POST `/metrics/:metric_name`](#post-metricsmetric_name)
1212

13+
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
14+
1315
## About
1416

1517
Generates a REST API (including a GraphQL endpoint) to query your dbt metrics using https://github.com/dbt-labs/dbt_metrics
@@ -97,3 +99,7 @@ KABLE_ENV=TEST
9799
```json
98100
$ curl -X GET "http://localhost:3002/metrics/orders" -H "X-CLIENT-ID: test-customer-1" -H "X-API-KEY: sk_test.some.secret.key"
99101
```
102+
103+
```
104+
105+
```

app.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "dbt Metrics API",
3+
"description": "A REST/GraphQL API for your dbt metrics layer",
4+
"repository": "https://github.com/mjirv/dbt-metrics-api",
5+
"logo": "https://node-js-sample.herokuapp.com/node.png",
6+
"keywords": ["dbt", "metrics", "api", "express"]
7+
}

server/.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)